Hi,
I got an ESP8266 with configured as an Webserver with mdns so I can connect in a browser with "esp8266.local"
How Can I convert the esp8266.local in an IP Address so that i can do an http request to this device.
Hi,
I got an ESP8266 with configured as an Webserver with mdns so I can connect in a browser with "esp8266.local"
How Can I convert the esp8266.local in an IP Address so that i can do an http request to this device.
Can I convert the esp8266.local in an IP Address so that i can do an http request to this device.
I generally recommend that you avoid doing that [1]. Instead put the local DNS name in the URL, for example,
http://esp8266.local/index.html.
Share and Enjoy
—
Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
let myEmail = "eskimo" + "1" + "@apple.com"[1] Resolving to a specific IP address causes all sorts of problems, including:
In mixed IPv6 and legacy IPv4 environments, you may end connecting to the wrong address.
If the IP address changes, your connection will fail.