mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-05-04 18:09:12 +03:00
[Issue]: Jellyfin unstable not binding to localhost #5002
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @aptalca on GitHub (Aug 2, 2023).
Please describe your bug
Jellyfin stable release binds to localhost as expected.
Jellyfin unstable releases no longer bind to localhost, I believe as a result of this PR: https://github.com/jellyfin/jellyfin/pull/8147
When jellyfin is run inside of a container for instance,
netstat -tulpn | grep LISTENoutput is as follows:Stable:
tcp 0 0 0.0.0.0:8096 0.0.0.0:* LISTEN -Unstable:
tcp 0 0 172.17.0.2:8096 0.0.0.0:* LISTEN -In this case,
172.17.0.2is the container IP. Somehow jellyfin detects the container IP and only listens at that IP.Relevant log snippet:
Perhaps this is intended behavior, but it causes other issues for things that rely on localhost binding, like health checks. The container IP is ephemeral.
Thanks
Jellyfin Version
Other
if other:
10.9
Environment
Jellyfin logs
FFmpeg logs
Please attach any browser or client logs here
N/A
Please attach any screenshots here
While the settings menu has this blurb, it no longer seems to be accurate as it's set to
blankby default but it does not bind to all available addresses.Code of Conduct
@pitbuster commented on GitHub (Aug 5, 2023):
I wanted to add that this issue also affects reverse proxy setups.
@alexi741 commented on GitHub (Aug 26, 2023):
This broke my nginx setup.
Workaround: Have the reverse proxy point to the sever IP, as opposed to localhost.
@Cebrain commented on GitHub (Sep 25, 2023):
I know this is the unstable release, but isnt this a major problem?
Would be nice this could be fixed.