Skip to content

Codespaces port forwarding not working (mainly for flask app)? #41907

Discussion options

You must be logged in to vote

Hi @dharantej1, we're thrilled you're using Codespaces! As you experienced at first, Codespaces and VSCode attempt to auto-detect any services you are running in the codespace and have VSCode forward them, but if the service you're running is not being auto-detected, you can forward the ports manually after starting the service, or you can set up a devcontainer.json to specify which ports should be forwarded every time you connect to a codespace for that repo. See the docs on forwarding ports in Codespaces for more detail. Hope this helps, and good luck!

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by dharantej1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Codespaces Your development environment, in the cloud. Run VS Code and code on GitHub's cloud platform, Question
2 participants