This is a question mostly for the sake of trying to learn more about how self-hosting works, and it is not vital that I resolve this. But if anyone wants to help me understand this, I would greatly appreciate it.

I have a media server running at home with certain Docker containers (Jellyfin, Navidrome and Audiobookshelf currently). I have not exposed these services to the internet, so they are currently only accessible on my home network, which is all I need for the time being. The server itself is connected to an external VPN provider as there may or may not be some torrenting involved at some point. Let’s say the name of the server is mediaserver.

From my laptop connected to the same network, I can access all these services through http://mediaserver.local: or http://:, while connected via the same VPN provider on the laptop also. On my cell phone (running CalyxOS), I am unable to do so. I need to disable VPN in order to access the services.

What is the difference between my laptop connected via VPN and my phone doing the same thing, both connected to my home network. I didn’t actually think the VPN would come in to play before making requests outside my home network, but that’s probably just me being ignorant.

  • Bldck@beehaw.org
    link
    fedilink
    arrow-up
    1
    arrow-down
    1
    ·
    1 year ago

    Check your wan IP on both your laptop and phone.

    I typically use curl https://checkip.amazonaws.com

      • NullGator@lemmy.ca
        link
        fedilink
        arrow-up
        2
        ·
        1 year ago

        Alternatives:

        ipconfig.io

        ifconfig.io

        ipinfo.io < this also gives info about the IP and you can use it to do ip lookups with ipinfo.io/IP

        You can also get your ip through cloudflare dns :

        dig ch txt whoami.cloudflare @1.1.1.1 +short

        • skankhunt42@lemmy.ca
          link
          fedilink
          arrow-up
          2
          ·
          1 year ago

          You can also just self host this also by adding a line in your Nginx config to return the client IP var. I have ip.domain.ca and curl that. On mobile now but if anyone is interested I’ll post my config later.