1

I am trying to access raspberrypi.local from my android device. I have set up avahi daemon on the rpi and can access the web server from my PC but it's not working for any of the android devices.

What could I be doing wrong?

  • 1
    This question belongs to android and not to Raspberry Pi. – Ingo Nov 22 '18 at 10:48
0

Your situation is explained on Android SE. Android doesn't include mDNS in standard name resolution results, so unless the Android app you're using explicitly uses mDNS library, it will not see raspberrypi.local.

Your options are to either find (or write) an Android app with mDNS support, or set up a regular DNS server in your network. Your router may already have such a feature.

1

You're out of luck. Android doesn't have any support for Bonjour (aka mDNS, aka zeroconf networking). You'll need to discover your Raspberry Pi's IP address (192.168.xxx.xxx) and use that.

It's available on Windows (if you have Apple's iTunes or Bonjour installed), it's available on Linux with avahi-daemon and the avahi-tools and because Apple invented it, it's available on OSX, ipads and iphones.

  • I really don't see how Bonjour (an Apple software) is related to the connection between a Pi and an Android phone. – Ghanima Nov 26 '18 at 21:34
  • Bonjour was the first (widely used and actually usable) zeroconf networking implementation - Avahi is linux implementation - I think windows 10 has something too (so no need to install Bonjour anymore) - odd that Android, which is linux based, doesn't – Jaromanda X Nov 26 '18 at 22:03
  • Android doesn't have any support for Bonjour not strictly true - developer.android.com/training/connect-devices-wirelessly/nsd - of course, that doesn't help a browser (chrome/firefox etc) on Android – Jaromanda X Nov 26 '18 at 22:34
  • You wrote: "It's available on Windows (if you have Apple's iTunes or Bonjour installed)". Do you know where to get/download Bonjour for MS Windows? – Ingo Mar 29 at 9:39
  • support.apple.com/downloads/bonjour_for_windows you get it for free if you have iTunes (which I don't have). – Dougie Mar 29 at 12:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.