Skip to content

feat(config): default to port 8077, which Jellyfin does not own - #81

Merged
gnacho merged 1 commit into
mainfrom
fix/80-default-port-8077
Nov 25, 2026
Merged

gnacho merged 1 commit into
mainfrom
fix/80-default-port-8077

Conversation

@gnacho

@gnacho gnacho commented Nov 25, 2026

Copy link
Copy Markdown
Owner

Closes #80.

Jellyfin has owned 8096 for years and it is one of the most self-hosted services around. Anyone running both has to change our port before installing, and the first thing a new user reads is a port that is already taken on their server. @kimllee hit exactly that in gnacho/ocnotes#35.

The default moves to 8077, both in DefaultListenAddr and in the artifacts that ship a default: the installer, the Dockerfile, the compose example, env.example, migrate.sh, the proxy snippets and the docs.

Existing installs do not move: /etc/ocapps/env is never rewritten (the installer only fixes OCAPPS_OPENCLOUD_URL there), so a running deployment keeps whatever OCAPPS_LISTEN_ADDR it has. What changes is where new installs start, and the docs, which no longer send anyone to a port that Jellyfin may own.

Verification: go build ./..., go vet, go test ./internal/common/config/ (the default assertion moved with it), sh -n and bash -n on the installer and dry runs of it with a fresh env (reads 8077) and with an existing env pointing at 8096 (the readiness check follows the env, not the default).

8096 is Jellyfin's port and Jellyfin is one of the most common self-hosted
services, so the default clashed with a large share of deployments. 8077 is
free in this stack. Existing installs keep their value, the env file is
never rewritten, so nothing moves under anyone's feet.
@gnacho
gnacho merged commit 89629a8 into main Nov 25, 2026
4 checks passed
@gnacho
gnacho deleted the fix/80-default-port-8077 branch November 25, 2026 21:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Default listener port collides with Jellyfin (8096)

1 participant