Hello all!

This is my first time doing anything like this so I’m sure it’s some basic technical thing I’m missing but I’m having trouble with this.

I have my server running on Linux mint and I can get that to work just fine but no matter what I do I cannot connect to the server from the Jellyfin app or swiftfin what’s the most likely cause of this and how can I fix it?

  • zelifcam@lemmy.world
    link
    fedilink
    English
    arrow-up
    7
    ·
    edit-2
    2 months ago

    How do you know the server is worker fine? How are you accessing it to know that?

    E:

    Do you have a firewall running on your mint installation? If so have you allowed the ports (8096/8097)

    Can you access the web client on the Mint installation http://<ip of mint>:8096

    Can you use that same address on your phone / another computer to access it?

    FYI If you’re using 127.0.0.1 that will not work on your phone or any client that’s not running the Jellyfin server.

    When you use the Jellyfin app which server address are you putting in?

    • Pacrat173@lemmy.mlOP
      link
      fedilink
      English
      arrow-up
      3
      arrow-down
      3
      ·
      2 months ago

      I’m using a laptop running Linux mint and I am able to access the dash from it

      • zelifcam@lemmy.world
        link
        fedilink
        English
        arrow-up
        4
        ·
        edit-2
        2 months ago

        How? Like http://<ip of mint>:8096 in a web browser? On the same system running the server or is this a separate computer?

          • zelifcam@lemmy.world
            link
            fedilink
            English
            arrow-up
            2
            ·
            edit-2
            2 months ago

            Ok. What address are you using when trying access the server on your phone or Jellyfin client?

            Edit: An address like this http://127.0.0.1:8096 or this http://<ip address of Linux mint system>:8096/

              • zelifcam@lemmy.world
                link
                fedilink
                English
                arrow-up
                3
                ·
                edit-2
                2 months ago

                Ok. So you’re definitely not trying to use 127.0.0.1 remotely.

                So on your phone’s web browser ( using the same WiFi ) if you visit http://<ip of mint system>:8096 and nothing happens then it’s the firewall on the mint system. You would need to allow ports 8096/8097.


                I’ve never used Linux mint, but if it’s Debian based then it might be using UFW firewall.

                First, check that if firewall is running. Open a terminal and type:

                sudo ufw status
                

                Step 2: Open ports 8096 and 8097

                To allow traffic through ports 8096 and 8097, use the following commands:

                sudo ufw allow 8096/tcp
                sudo ufw allow 8097/tcp
                

                This opens both ports for TCP traffic. If you also want to open the ports for UDP traffic, you can use:

                sudo ufw allow 8096/udp
                sudo ufw allow 8097/udp
                

                Step 3: Verify the rules

                Once you’ve added the rules, you can check the firewall status to verify the changes:

                sudo ufw status
                

                You should see entries for ports 8096 and 8097 allowing TCP (and/or UDP) traffic.

                Step 4: Reload firewall (if necessary)

                If the changes do not take effect immediately, you may reload the firewall using:

                sudo ufw reload
                

                Now, the firewall should allow traffic through ports 8096 and 8097.

                • Pacrat173@lemmy.mlOP
                  link
                  fedilink
                  English
                  arrow-up
                  1
                  ·
                  2 months ago

                  Got that done

                  I can get it to start connecting but it says could not connect

  • Pacrat173@lemmy.mlOP
    link
    fedilink
    English
    arrow-up
    1
    ·
    2 months ago

    Thanks for the advice everyone I’ve got a lot going on for the next few days but if I can get everything working I’ll update the post

  • cybervseas@lemmy.world
    link
    fedilink
    English
    arrow-up
    3
    arrow-down
    2
    ·
    2 months ago

    Can you connect from the web browser on your iphone?

    You might need to include the port number when you type in the server name or IP address.

    • pg_jglr@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      2
      arrow-down
      1
      ·
      edit-2
      2 months ago

      Yes, good question. Phone wifi could be on a different network or subnet than the jellyfin server.

  • Possibly linux
    link
    fedilink
    English
    arrow-up
    1
    arrow-down
    3
    ·
    edit-2
    2 months ago

    Can you access it on a different device? If I recall correctly Apple has a bunch of restrictions on local network access. Maybe find a device running a different OS and test it there