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


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?
Browsers should be smart enough to limit websites with their own permissions dialog to control what can access local stuff or not
If you add some cors headers browsers will literally refuse to make requests to that uri from other origins.