Re: WiFi.hostname doesn work
Posted: Sun Sep 03, 2017 12:42 am
I've just started playing with mDNS using a pretty good instructable (IMHO) https://tttapa.github.io/ESP8266/Chap10%20-%20Simple%20Web%20Server.html in order to learn how mDNS works. Not too successfully though The sketch is simply a "hello world" test, sending text to a browser. As mentioned here Bonjour needs to be installed on Windows which I haven't yet done, but I thought I'd be able to access the 8266 via Android phone using the mDNS name. Instead when I input http://esp8266.local as the instructional states, what I get returned is a page from my ISP's search engine listing references for the 8266. If I'm thinking correctly that means that the request went from the lan side of my router to the wan side and out to the ISP. Is there something needed for the android os as well? Thanks for any enlightenment. BTW; For anyone interested I use an app called Who's on my WiFi that will identify any devices that are logged on to the router. It reports IP address, any known name, MAC, and if it's currently connected. you can get it here https://whoisonmywifi.com/windows/