[GH-ISSUE #148] Serving on port 80 #112

Closed
opened 2026-02-28 01:23:30 +03:00 by kerem · 6 comments
Owner

Originally created by @piertoni on GitHub (Apr 5, 2016).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/148

Hi,
Is possible to serve pages on Port 80? Once connected the configuration page is not useful and would be great to add pages to the webpage. I managed to add another webserver on another port, but the 80 is blocked. Maybe simply transform the pointer to server from private to public?

Originally created by @piertoni on GitHub (Apr 5, 2016). Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/148 Hi, Is possible to serve pages on Port 80? Once connected the configuration page is not useful and would be great to add pages to the webpage. I managed to add another webserver on another port, but the 80 is blocked. Maybe simply transform the pointer to server from private to public?
kerem closed this issue 2026-02-28 01:23:30 +03:00
Author
Owner

@tzapu commented on GitHub (Apr 6, 2016):

hi, see examples, it shows you how to create another webserver on port 80
there s a problem with http server not deallocating as it should, or not starting up on the proper interface (you are going from sta to ap to sta)

<!-- gh-comment-id:206137394 --> @tzapu commented on GitHub (Apr 6, 2016): hi, see examples, it shows you how to create another webserver on port 80 there s a problem with http server not deallocating as it should, or not starting up on the proper interface (you are going from sta to ap to sta)
Author
Owner

@kentaylor commented on GitHub (Apr 22, 2016):

I also found that the web server could not be started more than once, not sure why.

A workaround is to reboot i.e. call ESP.reset(). after you have the WiFi credentials saved. After a reboot you will be able to start a webserver again.

<!-- gh-comment-id:213284076 --> @kentaylor commented on GitHub (Apr 22, 2016): I also found that the web server could not be started more than once, not sure why. A workaround is to reboot i.e. call ESP.reset(). after you have the WiFi credentials saved. After a reboot you will be able to start a webserver again.
Author
Owner

@tzapu commented on GitHub (May 8, 2016):

hi guys, you can also check the http server example, i am restarting a webserver there, after wifimanager is done, without needing a restart, hope it helps.

<!-- gh-comment-id:217700121 --> @tzapu commented on GitHub (May 8, 2016): hi guys, you can also check the http server example, i am restarting a webserver there, after wifimanager is done, without needing a restart, hope it helps.
Author
Owner

@hawk88 commented on GitHub (May 27, 2020):

Hi,
I was able to setup and use your codes without any issues, except the http port is set to default 80.
However, due to my ISP is restricting ports 0-1000, and if I would to connect any device within my network from outside, I have to use NAT forwarding to a specific port, but I also have other devices using port 80 as well such as NAS storage. How to set http port other than port 80? Thanks.

<!-- gh-comment-id:634522557 --> @hawk88 commented on GitHub (May 27, 2020): Hi, I was able to setup and use your codes without any issues, except the http port is set to default 80. However, due to my ISP is restricting ports 0-1000, and if I would to connect any device within my network from outside, I have to use NAT forwarding to a specific port, but I also have other devices using port 80 as well such as NAS storage. How to set http port other than port 80? Thanks.
Author
Owner

@alfo commented on GitHub (May 27, 2020):

You don't need to change the port on the device. Just do port forwarding on your router:
Ext Port 8001 -> NAS Port 80
Ext Port 8002 -> ESP Port 80

<!-- gh-comment-id:634524034 --> @alfo commented on GitHub (May 27, 2020): You don't need to change the port on the device. Just do port forwarding on your router: Ext Port 8001 -> NAS Port 80 Ext Port 8002 -> ESP Port 80
Author
Owner

@tablatronix commented on GitHub (May 27, 2020):

You can change ports in the alpha version

<!-- gh-comment-id:634731061 --> @tablatronix commented on GitHub (May 27, 2020): You can change ports in the alpha version
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/WiFiManager#112
No description provided.