Skip to content

When inside Coder, use Coder wildcard URLs to open loopback URLs and 0.0.0.0 #2376

@bpmct

Description

@bpmct

Our web terminal and code-server will link localhost URLs to the proper Coder port URL.

Web terminal:

https://github.com/coder/coder/blob/adc777540510011c4126b602ac9827fa0e04cd70/site/src/pages/TerminalPage/TerminalPage.tsx#L96-L108

code-server:

https://github.com/coder/code-server/blob/9184b645cc7aa41b750e2f2ef956f2896512dd84/patches/proxy-uri.diff#L1-L20

This creates a nice UX where it magically goes to the port. However, mux doesn't support this:

Screen.Recording.2026-02-12.at.7.02.01.AM.mov

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions