Want to change ESP32 tcp port number in AP mode

david@mandy
Posts: 8
Joined: Tue May 22, 2018 4:59 am

Want to change ESP32 tcp port number in AP mode

Postby david@mandy » Tue Jun 12, 2018 9:25 am

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.

WiFive
Posts: 3529
Joined: Tue Dec 01, 2015 7:35 am

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

Postby WiFive » Tue Jun 12, 2018 9:29 am

What are you typing in the browser for port 88? Http://192.168.4.1:88 ?

david@mandy
Posts: 8
Joined: Tue May 22, 2018 4:59 am

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

Postby david@mandy » Wed Jun 13, 2018 5:53 am

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.

User avatar
kolban
Posts: 1683
Joined: Mon Nov 16, 2015 4:43 pm
Location: Texas, USA

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

Postby kolban » Wed Jun 13, 2018 2:01 pm

What is the symptom of the failure? Is there any indication that the browser requests are being received by the ESP32 device?
Free book on ESP32 available here: https://leanpub.com/kolban-ESP32

deneme
Posts: 1
Joined: Mon Oct 18, 2021 5:50 am

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

Postby deneme » Mon Oct 18, 2021 6:00 am

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.

Who is online

Users browsing this forum: No registered users and 307 guests