5

I am using NsdManager to register a web service on the local network. My problem is that the device name is called "android", so I can access the phone as "android.local" from my laptop. How can I change that name? I would like something more unique.

Pal Szasz
  • 2,954
  • 3
  • 20
  • 18

1 Answers1

0

You cannot change this (on non-rooted devices). "android" is the host name of the device, ".local" is the suffix added by the mDNS (see this article).

artkoenig
  • 7,117
  • 2
  • 40
  • 61