Skip to content

Allow forwarding privileged ports in VSCode Desktop #13637

Open
@spearki

Description

@spearki

Is your feature request related to a problem? Please describe

Using VSCode Desktop, workspace listen ports less than 8000 are assigned a free high-numbered port on the local machine, instead of being mapped to the same port number as the workspace.

image

Describe the behaviour you'd like

Privileged ports opened in a workspace are assigned the same port number locally, if it's free.

Describe alternatives you've considered

This is supported in local-companion if you run it via sudo.

In Codespaces, this works by prompting you inside VSCode to elevate your permissions, allowing it to bind the desired port.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions