[PR #5345] [MERGED] Dual IP4 / IP6 server fails on non-windows platforms #10488

Closed
opened 2026-02-07 06:21:19 +03:00 by OVERLORD · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/jellyfin/jellyfin/pull/5345
Author: @BaronGreenback
Created: 3/2/2021
Status: Merged
Merged: 3/4/2021
Merged by: @dkanada

Base: masterHead: IP6Fix


📝 Commits (3)

  • dedc94e correction of ip6 loopback
  • 5942948 Kestrel workaround
  • c275c5c Update Jellyfin.Server/Program.cs

📊 Changes

2 files changed (+17 additions, -6 deletions)

View changed files

📝 Jellyfin.Networking/Manager/NetworkManager.cs (+16 -5)
📝 Jellyfin.Server/Program.cs (+1 -1)

📄 Description

Deep in the Kestrel code socket dual mode is enabled if IPAddress.IPv6Any is specified as an address.
This causes an exception on non-windows platforms if ip6 and ip4 is enabled.

It also means that Jellyfin can not be run in pure IP6 mode.

This PR fixes both these issues.

Tested on windows platform.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/jellyfin/jellyfin/pull/5345 **Author:** [@BaronGreenback](https://github.com/BaronGreenback) **Created:** 3/2/2021 **Status:** ✅ Merged **Merged:** 3/4/2021 **Merged by:** [@dkanada](https://github.com/dkanada) **Base:** `master` ← **Head:** `IP6Fix` --- ### 📝 Commits (3) - [`dedc94e`](https://github.com/jellyfin/jellyfin/commit/dedc94ec91d3562a71cc9d7e88c8c23f373d64a2) correction of ip6 loopback - [`5942948`](https://github.com/jellyfin/jellyfin/commit/594294871438bd83fee3198c647b2ff30defa8e1) Kestrel workaround - [`c275c5c`](https://github.com/jellyfin/jellyfin/commit/c275c5c1ea12a73c90b0f3599916eb48e21e130c) Update Jellyfin.Server/Program.cs ### 📊 Changes **2 files changed** (+17 additions, -6 deletions) <details> <summary>View changed files</summary> 📝 `Jellyfin.Networking/Manager/NetworkManager.cs` (+16 -5) 📝 `Jellyfin.Server/Program.cs` (+1 -1) </details> ### 📄 Description Deep in the Kestrel code socket dual mode is enabled if IPAddress.IPv6Any is specified as an address. This causes an exception on non-windows platforms if ip6 **and** ip4 is enabled. It also means that Jellyfin can not be run in pure IP6 mode. This PR fixes both these issues. Tested on windows platform. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
OVERLORD added the pull-request label 2026-02-07 06:21:19 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/jellyfin#10488