Has Anyone Got the Jellyfin App Working on LAN with YunoHost?

Hi all,

Has anyone successfully managed to get the official Jellyfin Android app (or LG smart TV app) to connect to a Jellyfin server running locally on a YunoHost install, using just HTTP LAN (e.g. http://192.168.x.x:8096 or a .lan domain)?

If you have:

  • What settings, firewall rules, or nginx/YunoHost tweaks did you need?
  • Did you run into any issues with redirects, SSL, or app connection errors?
  • Are you using direct access on port 8096, or going through the YunoHost nginx reverse proxy?

Background:
I can access Jellyfin fine in a browser on the LAN, but the app always fails to connect, and I see 301 redirects in the nginx logs when the app tries to connect.

Would love to hear from anyone who has it working—or any pointers!

Thanks!

U

1 Like

I have no Jellyfin running, but as a pointer:

  • I expect your clients not to find Jellyfin by IP; either because there is no matching TLS certificate (when using HTTPS) or because the client does not want to connect (when using HTTP)
  • workarounds:
    • create an A (and perhaps AAAA) record for your local IP at your DNS registrar (ie, jelly.mydomain.tld = 192.168.x.y)
    • get a Letsencrypt certificate (using the DNS-01 challenge, the HTTP-01 challenge would not work for local addresses)
1 Like

Thanks for the answer. I have the same problem. I want to run Jellyfin entirely on localhost, i.e. I don’t have a DNS registrar (or don’t know how to add a AAA record on YNH directly).

A similar post mentions a “hairpin” issue, that it by-passes the public domain to connect directly to the local server. I don’t know if that would help.

For reference, this question is also on github, with an answer suggesting deactivating SSO :grimacing:: Unable to connect to jellyfin from Android - port closed · Issue #183 · YunoHost-Apps/jellyfin_ynh · GitHub

1 Like

thank you all for your thoughts

Bonsoir,

Vous pouvez essayer de modifier /etc/jellyfin/network.xml ainsi (après avoir sauvegardé l’original, cela va sans dire) :

<NetworkConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org>
  <RequireHttps>false</RequireHttps>
  <BaseUrl>/</BaseUrl>
  <PublicPort>8097</PublicPort>
  <InternalHttpPort>8097</InternalHttpPort>
  <EnableHttps>false</EnableHttps>
  <EnableIPV6>true</EnableIPV6>
  <EnableIPV4>true</EnableIPV4>
  <AutoDiscovery>true</AutoDiscovery>
  <EnableUPnP>true</EnableUPnP>
  <EnableRemoteAccess>true</EnableRemoteAccess>
  <PublishedServerUrl>Votre-IP-locale</PublishedServerUrl>
</NetworkConfiguration>

puis

sudo systemctl restart jellyfin

L’application fonctionne avec l’IP locale (yunohost est bypassé). C’est à tester : cela fonctionne, disons, jusqu’à la connexion (je ne suis pas allé plus loin). Je ne sais pas quels problèmes cela peut causer par la suite et toute mise à jour de l’app cassera certainement cette config.
Avec YNH, l’app est faite pour fonctionner avec un nom de domaine public.

1 Like

J’oubliais le plus important: ouvrir le port de jellyfin dans le pare-feu.

1 Like

Thank you for your reply! I’ll give it a try.

1 Like

Ciao

Some updates? I just Installed Jellyfin and I tried everything. My android app, for example, is able to find the local jellyfin server, but if I try to access it does not succeed.

To make it visible on the network I had to allow the UDP ports that are described after the installation.

I am only able to access jellyfin directly by using the link to the application on the server, but not via other clients.