this post was submitted on 16 Sep 2024
12 points (87.5% liked)

Jellyfin: The Free Software Media System

5720 readers
4 users here now

Current stable release: 10.10.0

Community Standards

Website

Forum

GitHub

Documentation

Feature Requests

Matrix (General Information & Help)

Matrix (Announcements)

Matrix (General Development)

Matrix (Off-Topic) - Come get to know the team and blow off steam!

Matrix Space - List of all the available rooms on Matrix.

Discord - Bridged to our Matrix rooms

founded 4 years ago
MODERATORS
 

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?

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 7 points 1 month ago* (last edited 1 month ago) (9 children)

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://: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?

[–] [email protected] 0 points 1 month ago (8 children)

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

[–] [email protected] 4 points 1 month ago* (last edited 1 month ago) (7 children)

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

[–] [email protected] 1 points 1 month ago (1 children)

Same system running the server

[–] [email protected] 2 points 1 month ago* (last edited 1 month ago) (1 children)

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://:8096/

[–] [email protected] 1 points 1 month ago (1 children)

My computer IP address and port 8096

[–] [email protected] 3 points 1 month ago* (last edited 1 month ago) (2 children)

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://: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.

[–] [email protected] 1 points 1 month ago (1 children)

Got that done

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

[–] [email protected] 1 points 1 month ago* (last edited 1 month ago)

If it’s accessible using primary IP on the main system , firewall is set or completely disabled and both client and server are on the same network, then I’m not sure. Unless there’s some kinda of network setting mismatch on the laptop or a configuration in Jellyfin not allowing connections outside the host , then I’m not sure. We did cover the basics, so I’m sorry it’s not working.

[–] [email protected] 1 points 1 month ago

Linux Mint doesn't have the Firewall turned on by default

load more comments (5 replies)
load more comments (5 replies)
load more comments (5 replies)