mirror of
https://github.com/tzapu/WiFiManager.git
synced 2026-04-27 00:55:52 +03:00
[GH-ISSUE #909] Static IP on webserver not working after setting WiFi with AP #769
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#769
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 @RmenaLopez on GitHub (Jul 5, 2019).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/909
Im trying to to connect my ESP8266 to WiFi using the autoConnect method and then create a server to receive requests.
I need to know both IP, AP and server, always so that I can configure and use this ESP with other ones, that's why I want to set both IPs as fixed.
Setting the AP IP works just fine, I can connect to the hotspot and pick my WiFi as usual, but setting the server IP doesn't work, the IP is set but I'm unable to access the server.
Here's the code im using:
If I remove
wifiManager.setSTAStaticIPConfig(_ip, _gw, _sn);then I can connect, but I don't want the generated IP, I need a known and fixed IP.@RmenaLopez commented on GitHub (Jul 7, 2019):
Hi! This appears to be working correctly in the development branch.