Chat freely about anything...

User avatar
By MK1888
#11496 Is it necessary to disable DHCP?

But setting a fixed IP in your script/firmware enables you to port-forward requests from your router. So you could access your ESP web server from outside your LAN, via your router's public IP address. And if your router is setup to port-forward port 80 requests to a certain IP then your ESP can process those.
User avatar
By ac21
#11502 Yes currently I have my port forwarded and I'm able to access my esp anywhere but my ip is not fixed. Just waiting to see when my ip will change, I have not paid attention to it until now.
User avatar
By MK1888
#11503 You can set the IP in the software. I do it. In Lua it's: wifi.sta.setip(). And I have port forwarding for that address.

EDIT: Oh, you need to have a static router IP address. Yeah, turn off DHCP.