mirror of
https://github.com/tzapu/WiFiManager.git
synced 2026-04-27 00:55:52 +03:00
[GH-ISSUE #148] Serving on port 80 #112
Labels
No labels
📶 WiFi
🕸️ HTTP
Branch
DEV Help Wanted
Discussion
Documentation
ESP32
Example
Good First Issue
Hotfix
In Progress
Incomplete
Needs Feeback
Priority
QA
Question
Task
Upstream/Dependancy
bug
duplicate
enhancement
invalid
pull-request
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/WiFiManager#112
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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?
@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)
@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.
@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.
@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.
@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
@tablatronix commented on GitHub (May 27, 2020):
You can change ports in the alpha version