mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-16 05:43:54 +03:00
[PR #16131] Allow setting http/https port via environment variable and cli flag #14541
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?
📋 Pull Request Information
Original PR: https://github.com/jellyfin/jellyfin/pull/16131
Author: @stavros-k
Created: 1/28/2026
Status: 🔄 Open
Base:
master← Head:envport📝 Commits (2)
2863027Allow setting http/https port via environment variable and cli flagd38ebcdbetter validation📊 Changes
3 files changed (+105 additions, -4 deletions)
View changed files
📝
Emby.Server.Implementations/ApplicationHost.cs(+73 -4)📝
Jellyfin.Server/StartupOptions.cs(+22 -0)📝
MediaBrowser.Controller/Extensions/ConfigurationExtensions.cs(+10 -0)📄 Description
Allows setting http/https port via environment variable and cli flag.
Makes it easy to adjust basic network settings, so you can always get back in the webui.
ie someone uses docker with hostnetwork but another service uses the port.
Changes
Issues
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.