HOW TO OBTAIN THE PORT NUMBER OF ESP8266?

I want to assign port number in ESP8266. how to obtain the UDP_LOCAL_PORT number or UDP_REMOTE_PORT number?

Hi,

If you search on Internet "ESP8266 AT Command Set" you should get the info.

With the command "AT+ CIPSERVER= [,]" I think that this will do it.