Android 17 Now Blocks App Access to Your Local Network
If your phone suddenly refuses to open your self-hosted Nextcloud, Jellyfin or router admin page, the network is probably fine. The phone is.
Starting with Android 17, apps built for SDK 37 or higher need a new runtime permission — ACCESS_LOCAL_NETWORK — before they can send a single packet to a local address.
Reports of broken homelab access have been appearing on selfhosted communities this week, from people who spent days chasing DNS and firewall ghosts that were never the problem.
- The permission sits in the "Nearby devices" group, the same one Bluetooth uses, so a phone that already granted Bluetooth access may never show a prompt at all.
- Outgoing TCP connections, incoming connections, UDP unicast and multicast, and mDNS lookups for .local names all require it.
- Traffic to the internet is unaffected, which is exactly why the failure looks like a dead server instead of a blocked network.
The diagnosis is the ugly part. Google's documentation says a TCP connection blocked by the missing permission typically fails as a timeout rather than a permission error: no dialog, no readable log line, just a page that never loads.
UDP requests usually return EPERM instead, and for browsers Google points developers to android_getnetworkblockedreason(), an NDK call that separates a blocked local packet from a server that is simply down.
Legacy apps get a grace period. Anything still targeting SDK 36 or lower keeps an implicit grant as long as it holds INTERNET, and drops to blocked-by-default only when it rebuilds for API 37.
Expect the breakage to arrive app by app, over the coming months, on the same phone.
The reasoning behind the change is defensible. Google notes that any app holding INTERNET permission could previously reach every device on the house network — useful for building a fingerprint of the user, and a decent proxy for location.
Blocking that by default closes a door any app with a bundled network library could walk through unchallenged.
The cost is that opening your own server now depends on a permission buried in settings.
If a self-hosted app silently stops loading on Android 17, look for it under the app's permissions, allow nearby devices, and only then start checking the firewall.
📷 Simeon W from Wellington, New Zealand · CC BY 2.0 · Wikimedia Commons
🔗 Source: Android Developers