add get port of nginx's pic