[GH-ISSUE #1040] portal does not work on port 3000 #888

Closed
opened 2026-02-28 01:27:31 +03:00 by kerem · 3 comments
Owner

Originally created by @a9965 on GitHub (Apr 20, 2020).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/1040

Hi. On port 80 it works without problems, but as soon as a port change it stops working. I am doing something wrong?
Thank you

Originally created by @a9965 on GitHub (Apr 20, 2020). Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/1040 Hi. On port 80 it works without problems, but as soon as a port change it stops working. I am doing something wrong? Thank you
kerem 2026-02-28 01:27:31 +03:00
Author
Owner

@tablatronix commented on GitHub (Apr 20, 2020):

hmm, ill check

<!-- gh-comment-id:616634734 --> @tablatronix commented on GitHub (Apr 20, 2020): hmm, ill check
Author
Owner

@tablatronix commented on GitHub (Apr 20, 2020):

It looks like the captive portal redirect ignores the port , you will have to disable captive portal
wm.setCaptivePortalEnable(false); for it to work.

I will see if it can be fixed to handle that, also add a setter to set the http port without changing the source code.

  • fix cp redirect with port
  • add port setter
<!-- gh-comment-id:616739101 --> @tablatronix commented on GitHub (Apr 20, 2020): It looks like the captive portal redirect ignores the port , you will have to disable captive portal `wm.setCaptivePortalEnable(false);` for it to work. I will see if it can be fixed to handle that, also add a setter to set the http port without changing the source code. - [x] fix cp redirect with port - [x] add port setter
Author
Owner

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

you can now set webserver port, redirects work, captive portal will not of course

setHttpPort

<!-- gh-comment-id:626849166 --> @tablatronix commented on GitHub (May 11, 2020): you can now set webserver port, redirects work, captive portal will not of course `setHttpPort`
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#888
No description provided.