Skip to content
Discussion options

You must be logged in to vote

Hey @skifli- this is by design. The browser-based version of VS Code does not have access to your localhost's IP due to OS restrictions, which is why we have to use the fully qualified domain name when you are using VS Code Online. When working on the desktop-based version we have access to localhost, so we point any privately forwarded ports there. This allows a stable URL across codespaces on the desktop. It is still forwarding ports to and from your codespace, we just use a different domain due to differences in permissions between the browser- and desktop-based VS Code instances.

If you require the full domain, changing the forwarded port visibility to org or public will generate the …

Replies: 2 comments 2 replies

This comment was marked as off-topic.

@skifli
Comment options

Comment options

You must be logged in to vote
1 reply
@skifli
Comment options

Answer selected by skifli
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug GitHub or a GitHub feature is not working as intended Codespaces Your development environment, in the cloud. Run VS Code and code on GitHub's cloud platform,
3 participants