mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-16 05:43:54 +03:00
[PR #3549] Prevent failure to bind to Auto Discover port being a fatal error #9594
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?
Original Pull Request: https://github.com/jellyfin/jellyfin/pull/3549
State: closed
Merged: Yes
Presently if the server cannot bind to the AutoDiscovery port (udp 7359) then the server start up will exit with a fatal error. Since this port cannot be overridden (which would not make sense) or disabled via config, this would prevent users from running Jellyfin on a server where this port is not available or already in use (e.g. Emby running).
Changes
Handle exception trying to bind to udp 7359 and log as warning.