Skip to content

Use dynamic ports for Steve to avoid conflicts with other software#10018

Draft
jandubois wants to merge 1 commit intorancher-sandbox:mainfrom
jandubois:steve-dynamic-ports
Draft

Use dynamic ports for Steve to avoid conflicts with other software#10018
jandubois wants to merge 1 commit intorancher-sandbox:mainfrom
jandubois:steve-dynamic-ports

Conversation

@jandubois
Copy link
Member

@jandubois jandubois commented Mar 14, 2026

Steve defaults to ports 9443 (HTTPS) and 9080 (HTTP), which conflict with software like Logitech GHub. At each Steve start, Rancher Desktop now checks whether the default ports are available and falls back to OS-assigned free ports when they are in use.

The resolved ports thread through to DashboardServer (via dynamic proxy router), setupNetworking (certificate-error handler), and the Steve process itself (--https-listen-port and --http-listen-port flags). Ports are re-resolved on every backend restart so stale values never persist across stop/start cycles.

Fixes #1890

@jandubois jandubois force-pushed the steve-dynamic-ports branch 2 times, most recently from cf680d3 to 81bcc55 Compare March 15, 2026 00:59
Steve defaults to ports 9443 (HTTPS) and 9080 (HTTP), which conflict
with software like Logitech GHub. At each Steve start, Rancher Desktop
now checks whether the default ports are available and falls back to
OS-assigned free ports when they are in use.

The resolved ports thread through to DashboardServer (via dynamic proxy
router), setupNetworking (certificate-error handler), and the Steve
process itself (--https-listen-port and --http-listen-port flags).
Ports are re-resolved on every backend restart so stale values never
persist across stop/start cycles.

Fixes rancher-sandbox#1890

Signed-off-by: Jan Dubois <jan.dubois@suse.com>
@jandubois jandubois force-pushed the steve-dynamic-ports branch from 81bcc55 to dcd6595 Compare March 15, 2026 05:29
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.

Make ports for Steve configurable (9080 and 9443)

1 participant