mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-01-23 23:20:51 +01:00
[Issue]: Jellyfin unstable not binding to localhost #5004
Labels
No labels
area:database
awaiting-feedback
backend
blocked
breaking change: web api
bug
build
ci
confirmed
discussion needed
dotnet future
downstream
duplicate
EFjellyfin.db
enhancement
feature
future
github-actions
good first issue
hdr
help wanted
invalid
investigation
librarydb
live-tv
lyrics
media playback
music
needs testing
nuget
performance
platform
pull-request
question
regression
release critical
requires-web
roadmap
security
security
stale
support
syncplay
ui & ux
upstream
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: starred/jellyfin#5004
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
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 1, 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 25, 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.