Jellyfin Forum
SOLVED: Using Loopback Address - Linux Mint - 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: Using Loopback Address - Linux Mint (/t-solved-using-loopback-address-linux-mint)



Using Loopback Address - Linux Mint - dannyj - 2024-11-28

SPECS:

Server version 10.10.3
Web version 10.10.3
Build version 10.10.3

Release Linux Mint 21.3 Virginia 64-bit
Kernel Linux 5.15.0-125-generic x86_64
MATE 1.26.0


PROBLEM:

Jellyfin only binding to loopback ip 127.0.0.1, not accessible by client apps.

Basic setup, no proxies or containers or anything. Recently changed from Windows 11 with Jellyfin working great. Now on Linux Mint, got the server running locally, but unable to access it via client apps (multiple ROKU devices on the same network.)



FROM LOG:

Code:
[2024-11-28 12:07:30.609 -08:00] [WRN] "::ffff:127.0.0.1": Only loopback "::1" returned, using that as bind address.
[2024-11-28 12:14:59.521 -08:00] [WRN] "::ffff:127.0.0.1": Only loopback "::1" returned, using that as bind address.
[2024-11-28 12:30:56.799 -08:00] [WRN] "::ffff:127.0.0.1": Only loopback "::1" returned, using that as bind address.
[2024-11-28 12:31:38.362 -08:00] [INF] Defined LAN subnets: ["::1/128", "fe80::/10", "fc00::/7", "127.0.0.1/8", "10.0.0.0/8", "172.16.0.0/12", "192.168.0.0/16"]
[2024-11-28 12:31:38.366 -08:00] [INF] Defined LAN exclusions: []
[2024-11-28 12:31:38.366 -08:00] [INF] Used LAN subnets: ["::1/128", "fe80::/10", "fc00::/7", "127.0.0.1/8", "10.0.0.0/8", "172.16.0.0/12", "192.168.0.0/16"]
[2024-11-28 12:31:38.366 -08:00] [INF] Filtered interface addresses: ["127.0.0.1", "192.168.12.153", "10.5.0.2"]
[2024-11-28 12:31:38.367 -08:00] [INF] Bind Addresses ["::"]
[2024-11-28 12:31:38.367 -08:00] [INF] Remote IP filter is "Blocklist"
[2024-11-28 12:31:38.368 -08:00] [INF] Filtered subnets: []
[2024-11-28 12:33:39.364 -08:00] [INF] WS "::ffff:127.0.0.1" closed
[2024-11-28 12:33:40.305 -08:00] [INF] WS "::ffff:127.0.0.1" request
[2024-11-28 12:44:52.623 -08:00] [INF] Sending shutdown notifications
[2024-11-28 12:45:22.624 -08:00] [ERR] WS "::ffff:127.0.0.1" WebSocketRequestHandler error



CONTEXT:

- When working successfully on Windows, the ip address for the server was 192.168.1.xx:8096
- this was able to be reached via the jellyfin roku app auto-discover feature
- Now with Linux Mint, the ip address is 127.0.0.1:8096
- unable to find anything via jellyfin roku auto-discover
- I understand this IP to be a loopback and not visible to other network clients
- I suspect I need to either allow jellyfin to do something to get out of loopback, or force it to do so. I suspect this may be linux firewall or permissions setting of some sort.


SETTINGS:

- Bind to Local Network Address : Blank
- Local HTTP port number: 8096
- “Enable HTTPS” is not checked
- Allow Remote connections is checked
- Enable Automatic Port mapping is checked
- Both IPv4 and IPv6 protocols are checked



I did investigate previous posts asked and answered by others, and feel that I have implemented the advice from those posts, but am still stuck.

It would seem I need to either allow or force jellyfin to not use the loopback IP address, which I understand basically creates a little testing ground for network software, but is not accessible to other devices on the same network.

Thanks


RE: Using Loopback Address - Linux Mint - TheDreadPirate - 2024-11-29

What is this "10.5.0.2" address? Is that wireguard? You can try setting Jellyfin to specifically bind to 192.168.12.153.


RE: Using Loopback Address - Linux Mint - dannyj - 2024-11-30

(2024-11-29, 05:14 PM)TheDreadPirate Wrote: What is this "10.5.0.2" address?  Is that wireguard?  You can try setting Jellyfin to specifically bind to 192.168.12.153.

Ah thank you!  So simple!  The server is now bound to that 192xx address, appears as expected on the dashboard.

After turning off VPN ( the culprit of the 10.5.0.2 address ) everything is now working!!

Thank you for your assistance.

Now I need to figure out how to get jellyfin to operate outside of the VPN, so i can have VPN running and use Jellyfin simultaneously, i will do some research.