Apparently apps now need the “Nearby devices” permission to be able to access sites hosted on your local network. I just spent forever trying to figure out why firefox wouldn’t load my local nextcloud instance. Hopefully this post saves someone else that pain. Local network permission in Android 17
I should have posted my own similar findings a week ago when I lost 25% of my remaining hair. Sorry.
If a device’s DNS server is on a local network, traffic to / from it (at port 53) doesn’t require local network access permission.
Wait… You guys Don’t have a DNS server in your local network? Maybe time to get a pihole+unbound combo attached to your local network.
Or maybe I’m reading this wrong? Anyway, I’m still happily on 14 and probably can’t go further then 16 anyway 🤷
For someone like me who doesn’t want any app to touch my local network without my knowledge and explicit approval, this is a very welcome change.
100%
IMO, “nearby devices” is bad wording and the icon is the same one as NFC, IIRC.
on my laptop it’ll say something like “local network” which is more intuitive.
Apple does this regarding a popup requesting access to the local network. It saying “nearby devices”, for me, is a big no thanks.
OTOH, once you allow it for your phones browser, it’s presumed any site that sends a request triggering access would automatically be granted it.
Time for a separate browser to use for local-only access?
Yeah problem is now I have to give my whole web browser and some other apps permission to scan for local devices in order to simply browse to a self-hosted website or IoT device. It really should be separate. I thought this this permission is designed to block searching for WiFi and Bluetooth devices in your area, which can then be used to derive your physical location without needing the location permission. The list of APs can be checked against databases that Google and Apple and such have built to finds your location more accurately with the diminishing GPS satellite constellation. So the fact that I have to give up a block on AP scanning to get access to my local services and IoT devices in any apps or browsers that need it, kind of sucks.
Look at the permissions setting called “Nearby Devices”. This needs to be granted to a app you would like to access your local network.
Scratched my head for a while as well when I discovered not being able to access local self-hosted service on my phones browsers.
Downside is “Nearby Devices” permissions also control Bluetooth and NFC if I am not mistaken.
Setting up some domains that resolve to the local addresses might be worth your while now, otherwise youll have to change that setting on every device.
Edit: im told this won’t help, although its still probably a good idea to have setup anyway.
That still ends up on the local net - wouldn’t it still be blocked because (I assume) it’s blocking any local IP?
I mean what kind of nonsense is this?
Yes FF will block without the permission
I have several proxmox servers in my homelab and use a free duckdns.org domain (using 192.168.x.x to make it work only from within my network) with a reserve proxy (nginx) w/ https (letsencrypt)…
Despite all that, firefox still requires the Nearby Devices permission to work (╯°□°)╯︵ ┻━┻
I will check, but I believe the intent is to prevent JavaScript from network/port scanning your network. So if you connect via DNS, thats allowed, but using the same IP directly is forbidden.this is all wrong apparently.I will test and get back to you.(I can’t test, I dont have any android 17 devices, sorry)I think the idea is not too bad. Preventing evildoers on your phone to portscan your LAN. It’s a firewall
It would probably work if it’s IPv6 since that usually uses internet routeable addresses.
It doesn’t matter if the URL you enter is a local IP address or a domain that resolves to a local address. Both get blocked.
Damn, that is just madness then.




