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

  • CameronDev@programming.dev
    link
    fedilink
    English
    arrow-up
    5
    ·
    edit-2
    8 hours ago

    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.

    • Onomatopoeia@lemmy.cafe
      link
      fedilink
      English
      arrow-up
      16
      ·
      11 hours ago

      That still ends up on the local net - wouldn’t it still be blocked because (I assume) it’s blocking any local bet IP?

      I mean what kind of nonsense is this?

      • Vakbrain@lemmy.dbzer0.com
        link
        fedilink
        English
        arrow-up
        8
        ·
        9 hours ago

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

      • CameronDev@programming.dev
        link
        fedilink
        English
        arrow-up
        2
        ·
        edit-2
        8 hours ago

        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)

    • irotsoma@piefed.blahaj.zone
      link
      fedilink
      English
      arrow-up
      9
      ·
      9 hours ago

      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.