So I was able to install everything correctly, but I don’t know what I’m supposed to do in order for people that don’t have my same IP to see my files. I’d like to share my Jellyfin server with some friends so they can see movies there. I’ve already open the ports, but they can’t still access them, I’m using elementaryOS Hera which is built on Ubuntu 18.04.4 LTS.

  • CameraGreenBlack
    link
    fedilink
    arrow-up
    2
    ·
    4 years ago

    Are you behind CG-NAT ? An easy way to check this is if the IP address reported by your router is different from your public IP.

    • ghost_laptopOP
      link
      fedilink
      arrow-up
      1
      ·
      4 years ago

      I don’t know the difference between a double NAT or a CG-NAT, but I’m under a double NAT (I mentioned it in another comment, but it may be buried among all the replies) so yes, that’s why this doesn’t work, I’ve contacted my ISP an I’m trying to get and IPv6, but from what I heard they only give it to companies. :/

      • CameraGreenBlack
        link
        fedilink
        arrow-up
        2
        ·
        4 years ago

        Yeah maybe I didn’t see that comment (in fact don’t see it still). Unfortunately, you can’t expose a service to others behind a NAT. You can either get a cheap VPS and do some reverse tunneling (the speed with which others load Jellyfin will be limited by your personal upload speed), or get a slightly expensive VPS and host Jellyfin on it.

  • Aode (He/They)
    link
    fedilink
    arrow-up
    2
    ·
    4 years ago

    also, since you’re running this on elementary OS, I’m assuming that’s your personal computer. are you able to access jellyfin from other computers on your local network?

  • DessalinesA
    link
    fedilink
    arrow-up
    2
    ·
    4 years ago

    So I was able to install everything correctly, but I don’t know what I’m supposed to do in order for people that don’t have my same IP to see my files.

    1. If you have a router, you need to set up port forwarding, otherwise your router has no idea which machine it needs to send those requests to.
    2. Make sure your firewall if you’re using one, has that port open. If you have any, you might be using ufw.

    If you have a phone data plan, you can test that everything’s working correctly using it to connect to your server.

  • Aode (He/They)
    link
    fedilink
    arrow-up
    2
    ·
    4 years ago

    I have a few questions, being familiar with self hosting but not with jellyfin specifically

    what ports does jellyfin expose? what IP does it have? what ports did you forward? how did you forward them? what IP did you forward them to? how are you telling your friends to connect?

    • ghost_laptopOP
      link
      fedilink
      arrow-up
      3
      ·
      4 years ago

      I am not totally sure, but according to what someone else told me in my crosspost, I think it uses ports 80 and 443 when being used in combination with Caddy and DuckDNS. It uses 192.168.0.103:8096 if I access it locally. And I am not telling my friends to connect because I know they cant yet.

      If you could please check out the other post on Jellyfin community since we made some progress but there were some errors. Thanks!

  • Philip@endlesstalk.org
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    Your IP might not be a public IP. It could be behind a CGNAT, which is why others are unable to access it. I know 2 ways to fix it.

    • Use a proxy/VPN
    • Contact your ISP to get a public IP.

    I would however recommended you to read up on how to securely share services to the internet, since when a service is publicly available, it can open up a lot of entryways into your server, if you are not carefull.

    If possible I would suggest you use a VPN. Your friends would be able to connect to the VPN to get access to the jellyfin server. An easy VPN you can use is tailscale

    • ghost_laptopOP
      link
      fedilink
      English
      arrow-up
      1
      arrow-down
      1
      ·
      1 year ago

      Yeah, I’m behind a DoubleNAT and I think my ISP won’t let me otherwise so I guess I’m fucked.

      • Philip@endlesstalk.org
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 year ago

        You can still use a VPN(Eg. tailscale as recommeded above) to share, since it can bypass the DoubleNAT. You can also setup a proxy(What I’m doing currently), but it requires more setup and also cost a bit(1 - 2 Euros a month).