Example sketches for the new Arduino IDE for ESP8266

Moderator: igrr

User avatar
By QuickFix
#81424 I've read about a lot of people having problems getting mDNS to work, especially on Windows environments (it would not be the first time MS did a poor job at implementing a protocol).
Some people install Apple Bonjour on their Window system, you could try that and see if it works.

Of course you could, as a quick-and-dirty-fix, add a line to your HOSTS file, but that would be only helpful if the IP of your ESP doesn't change.
User avatar
By rudy
#81430 Apple Bonjour is the only option that I know of to get mDNS to work on a Windows system. The problems are with Bonjour installed, but I doubt Bonjour is the problem.

For the time being I'm using static IPs. I had done some work using mDNS to do a discovery of IP addresses and to then store those IPs in the device that needed them. (for ESP to ESPs com) After that point use them as static IPs until they disappear and then do a new automatic discovery. I found that mDNS was too slow when it worked. I still have more work to do on this but I haven't been able to get back to it. Too many projects and not enough time.