microsoft / microsoft/vscode-remote-release

Port link broken when using `appPort`

Open
#11,254 5 comments 0 reactions 1 assignee View on GitHub

@chrmarti is already working on this.

Since Feb 6, 2026.

containers
Dominant language
Dockerfile
Stars
4.2k
Forks
469
Avg merge
1d 1h
Merged PRs (30d)
1

Description

  • VSCode Version: 1.105.0
  • Local OS Version: Windows 11 25H2
  • Remote OS Version: Ubuntu 24.04.3 LTS
  • Remote Extension/Connection Type: Dev Containers
  • Logs: N/A

Steps to Reproduce:

  1. Clone https://github.com/home-assistant/core. The relevant section looks like:

    {
      "appPort": ["8123:8123"]
    }
    
  2. Reopen in the devcontainer

  3. Check ports tab:

    Image

If you try to copy the link, it yields [::1]:8123, which may seem to indicate that the port is exposed to 0.0.0.0 (not sure). Regardless, it's a broken and useless link. Clicking the Open in browser button will try opening the same in browsers, which won't work.

I would have expected these to be translated to something like localhost:8123.

Note that appPort cannot be refactored into forwardPorts because of:

  1. https://github.com/devcontainers/spec/issues/643
  2. https://github.com/home-assistant/core/pull/154099/files#r2417724273

Does this issue occur when you try this locally?: N/A
Does this issue occur when you try this locally and all extensions are disabled?: Yes

This is related to https://github.com/microsoft/vscode-remote-release/issues/11253.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.