Skip to main content
PPlamenu
HomeLive feedsPeopleGroupsRulesStaff
Sign in
PPlamenu
HomeLive feedsPeopleGroupsRulesStaff
Sign in

posted in Selfhosted

skiguy0123@skiguy0123@lemmy.ca
⁨8⁩d

Android 17 permissions prevent accessing local sites

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

1810285
Open original page
BoostsQuotesFavs
CameronDev@CameronDev@programming.dev
⁨8⁩d

Replying to @⁨skiguy0123@lemmy.ca⁩

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.

⁨Nov⁩ ⁨25⁩, ⁨2026⁩, ⁨02:31⁩Edited ⁨⁨Nov⁩ ⁨25⁩, ⁨2026⁩, ⁨05:40⁩⁩en
2000
Open original page
BoostsQuotesFavs
Onomatopoeia@Onomatopoeia@lemmy.cafe
⁨8⁩d

Replying to @⁨CameronDev@programming.dev⁩

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?

4000
Open original page
BoostsQuotesFavs
tofu@tofu@lemmy.nocturnal.garden
⁨8⁩d

Replying to @⁨Onomatopoeia@lemmy.cafe⁩

I think the idea is not too bad. Preventing evildoers on your phone to portscan your LAN. It’s a firewall

0000
Open original page
BoostsQuotesFavs
cmnybo@cmnybo@discuss.tchncs.de
⁨8⁩d

Replying to @⁨Onomatopoeia@lemmy.cafe⁩

It would probably work if it’s IPv6 since that usually uses internet routeable addresses.

0000
Open original page
BoostsQuotesFavs
CameronDev@CameronDev@programming.dev
edited⁨8⁩d

Replying to @⁨Onomatopoeia@lemmy.cafe⁩

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)

0000
Open original page
BoostsQuotesFavs
Vakbrain@Vakbrain@lemmy.dbzer0.com
edited⁨8⁩d

Replying to @⁨Onomatopoeia@lemmy.cafe⁩

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 (╯°□°)╯︵ ┻━┻

0000
Open original page
BoostsQuotesFavs
Jul (they/she)@irotsoma@piefed.blahaj.zone
⁨8⁩d

Replying to an earlier post

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.

1000
Open original page
BoostsQuotesFavs
CameronDev@CameronDev@programming.dev
⁨8⁩d

Replying to @⁨irotsoma@piefed.blahaj.zone⁩

Damn, that is just madness then.

0000
Open original page
BoostsQuotesFavs