microsoft / microsoft/vscode-remote-release
Port link broken when using `appPort`
@chrmarti is already working on this.
Since Feb 6, 2026.
- 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:
-
Clone https://github.com/home-assistant/core. The relevant section looks like:
{ "appPort": ["8123:8123"] } -
Reopen in the devcontainer
-
Check ports tab:
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:
- https://github.com/devcontainers/spec/issues/643
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.