-->
Page 1 of 1

mDNS / Android

PostPosted: Wed Nov 02, 2016 7:18 am
by scrumfled
OK, I've been tinkering all morning, trying to get the following scenario working;

An ESP8266 connected to wifi (done), running a webserver (done), taking form input and saving it (1/2 done) and advertising itself via mDNS so that clients can connect (heres the problem).

Right now, my mac can see the ESP (using widget.local as the address) and connect to it. If it try to do the same via an android mobile, it fails in the lookup. I read earlier that android dont really do mDNS and instead override to their own DNS servers. I've also read lots of folks claiming they've got it working.

Sooo, whats the story... is android/mdns working (as an out of the box/dont fiddle with the mobile client kind of deal). If so, does anyone have an example code showing how their working mDNS implementation is.

ps. the library examples do not work.

Re: mDNS / Android

PostPosted: Wed Nov 23, 2016 8:34 am
by scrumfled
Im not really a fan of bumping posts, but its been a while and Im hoping someone has some feedback :)

Re: mDNS / Android

PostPosted: Wed Nov 23, 2016 8:57 am
by rudy
I have never got it to work with Windows either. From my limited understanding I think there is no one way that works for everything.

Re: mDNS / Android

PostPosted: Sat Jun 02, 2018 3:28 pm
by movil
For Windows you need to install Bonjour. MDns to work needs it’s counterpart that is a discovery service. Mac devices do this since 2002. New versions of Windows and Ubuntu Os too. Android says it supports it but I still could not make it work.