Jellyfin Forum
[Solved] Can't connect to server except through web client - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting)
+--- Thread: [Solved] Can't connect to server except through web client (/t-solved-can-t-connect-to-server-except-through-web-client)

Pages: 1 2


[Solved] Can't connect to server except through web client - derFisch - 2025-03-20

Did as much searching as I could for this problem, and I couldn't find a solution that worked, so I'm here for help! Sorry in advance if this is just something I missed.

I installed Jellyfin today with little to no issue, but for seemingly no reason I was unable to connect from any apps after a while. I had not touched the settings between watching something and the connection issues starting. I'm able to connect via the web client though, and in case that didn't confirm it, checking for port activity seems to indicate that the server is indeed online.

[*]OS: Linux Mint 22.1 Cinnamon
[*]Version: 10.10.6
Install method: Debian repository
Affected clients: Desktop (also deb), Android. When attempting to connect to the server, I get a fail to connect error message.

Edit: It seems to have (mostly) fixed itself. Entering the full local IP seems to still not work, but using localhost:8096 and my public IP both seem to work, so I'm content. If someone feels like spending time helping me figure out that last issue though, I'd still appreciate it.


RE: [Solved] Can't connect to server except through web client - TheDreadPirate - 2025-03-20

I see you found a workaround, but let's properly solve the issue.

What is the output of this command?

Code:
sudo ufw status

Can you share the contents of this file?

Code:
/etc/jellyfin/network.xml

And can you share your full jellyfin logs via privatebin.net?

Code:
/var/log/jellyfin/log_20250320.log



Can't connect to server except through web client - milosnik - 2025-04-18

Hi.
*]OS: Linux Mint 22.1 Cinnamon
[*]Version: 10.10.6
Install method: Debian repository

I cann connect to server with 192.168.192:8096 and localhost:8096.
but anothers divces (android phone, firestick) don't see server.
i tried using ip from tailscale(i used this for nomachine).
but this same. disable tailscale, nothing. antoher devices in this same lan network dont see jellyfin server


ufw inactiv


logfile
Quote:https://privatebin.net/?9ce429816f5438d9#5jHTXUQJhffBVjTs37e2xSaGyxmPcSHfcGWqzhqv51D5

xml file
https://privatebin.net/?3285b052cc490705#84csfj6EQVHLQqqGKbPffCQit2q1XJMTjp6DxzUmtzch


RE: [Solved] Can't connect to server except through web client - TheDreadPirate - 2025-04-18

UFW is a just a frontend for your actual firewall. Usually iptables or nftables. UFW being disabled just means that any rules made by UFW are not enabled.

Run the following commands to enable and allow jellyfin through the firewall.

Code:
sudo ufw enable
sudo ufw allow ssh  # to ensure that SSH is remotely accessible
sudo ufw allow 8096

Now other devices on your LAN should be able to access Jellyfin through the LAN IP of the server.


RE: [Solved] Can't connect to server except through web client - milosnik - 2025-04-18

still the same


RE: [Solved] Can't connect to server except through web client - TheDreadPirate - 2025-04-18

On the Android TV and Android clients, are you relying on service discovery? Or have you tried manually setting the address?

You would need to add this UFW rule for service discovery to work.

Code:
sudo ufw allow 7359/udp

I do see these messages a lot in your log.

Code:
[2025-04-18 21:35:57.318 +02:00] [INF] AuthenticationScheme: "CustomAuthentication" was challenged.
[2025-04-18 21:36:57.251 +02:00] [INF] "CustomAuthentication" was not authenticated. Failure message: "Invalid token."
[2025-04-18 21:36:57.252 +02:00] [INF] "CustomAuthentication" was not authenticated. Failure message: "Invalid token."

The frequency of the messages tells me that your Android TV client is attempting to login with an expired token.

If you do have tailscale running on the server, ensure that split tunneling is enabled. So that local traffic stays local and tailscale traffic can still connect. However, I don't see any indication that tailscale is running. Otherwise there would be an additional IP in the list of interfaces.


Can't connect to server except through web client - milosnik - 2025-04-18

I tried mannually and relying on service discovery. i don't see server.
tailscale is now off.

still the same


RE: [Solved] Can't connect to server except through web client - TheDreadPirate - 2025-04-18

On another PC on your home network, are you able to ping your server?


RE: [Solved] Can't connect to server except through web client - milosnik - 2025-04-18

yes. i tried ping from Laptop with windows 11 forks fine.
Samba on Linux is works fine.


RE: [Solved] Can't connect to server except through web client - TheDreadPirate - 2025-04-19

Did you original have Jellyfin on a Windows system? I noticed you appear to possibly have NFOs that are referencing Windows paths for images. Which makes me question how much of your Windows install you migrated to Linux.

Can you clarify that question?

If you did have Jellyfin on a prior Windows system, can you clear the app cache for both the Android and Android TV devices?