libretiny-eu / libretiny

PlatformIO development platform for IoT modules
http://docs.libretiny.eu/
MIT License
401 stars 59 forks source link

Address WebServer #287

Closed Mit4el closed 3 months ago

Mit4el commented 4 months ago

if I use the WebServer HTTP(80), that is, without an address, then when HTTP.begin() is called, the server starts at 0.0.0.0:80. I use the standard web server from libretiny, not async from EspHome

kuba2k2 commented 4 months ago

And what's the issue? 0.0.0.0 obviously means "any address", that is, you can connect to it on any IP address the device has (for example, both WiFi station and AP).

Mit4el commented 4 months ago

That's right, I was wrong. Sorry, it just doesn't open the web, and for some reason I immediately thought of the wrong address.