Skip to content

How to preview html files/ enable live preview #3088

Answered by bpmct
devItGym asked this question in Q&A
Discussion options

You must be logged in to vote

You can access ports running on localhost in a few ways within code-server. See: https://github.com/cdr/code-server/blob/main/docs/FAQ.md#how-do-i-securely-access-web-services

Easiest solution is by visiting [code-server-url]/proxy/8080

If none of these work for your use case, you can also use something like ngrok

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by bpmct
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants