Page 1 of 1

Want to change ESP32 tcp port number in AP mode

Posted: Tue Jun 12, 2018 9:25 am
by david@mandy
Hello Admin,
I am using ESP 32 with esp-idf v3.0 (stable version). I am using TCP/IP in my application. In my code I have assigned the TCP IP and port number(80) and using browser I am trying to open one html page, and it is working fine. But when I change the port number in my code, the device is not able to push the html page. I tried with different port numbers but every time it is failing. It is only working with one port number i.e 80. I also tried with "TCP UDP test tool" app with different port numbers, but there it worked as expected. Only with the browser I am facing this problem.

Re: Want to change ESP32 tcp port number in AP mode

Posted: Tue Jun 12, 2018 9:29 am
by WiFive
What are you typing in the browser for port 88? Http://192.168.4.1:88 ?

Re: Want to change ESP32 tcp port number in AP mode

Posted: Wed Jun 13, 2018 5:53 am
by david@mandy
WiFive wrote:What are you typing in the browser for port 88? Http://192.168.4.1:88 ?
Hello WiFive,

Thanks for your response.
When I am typing "http://192.168.4.1:80" in the browser it is working.
But when I change the port number in my code, the device is not able to push the html page.
Suppose if I set the port number 88 and in the browser I type "http://192.168.4.1:88" , at that time device is not able to push the html page.

Thanks.

Re: Want to change ESP32 tcp port number in AP mode

Posted: Wed Jun 13, 2018 2:01 pm
by kolban
What is the symptom of the failure? Is there any indication that the browser requests are being received by the ESP32 device?

Re: Want to change ESP32 tcp port number in AP mode

Posted: Mon Oct 18, 2021 6:00 am
by deneme
Is there a solution on this problem. I got the same problem. When I change port number other than 80 esp8266webserver does not respond to client.