Code-server: Issue: Exposing code-server localhost URL to Internet, through secure tunneling using ngrok

Created on 24 Mar 2019  路  4Comments  路  Source: cdr/code-server

Hello,

How can I expose the local code-server URL to the Public Internet using ngrok secure tunnels?

I tried multiple ways, but unable to achieve the desired outcome.

Let's say I expose the local URL using ngrok as follows:

ngrok http 8443

I get the following error in the browser when I use the public URL generated by ngrok that maps to my internal URL for code-server:

image

When I Inspect the requests through ngrok public URl using the ngrok Inspector, I get the following info:

image

I searched extensively across the web to see if anyone else encountered such issues, but could not find anything anywhere.

Kindly help with your thoughts/suggestions.

question

Most helpful comment

using --allow-http to start code-server

All 4 comments

using --allow-http to start code-server

Thanks!

Is it safe to close this one @bahreex ?

Is it safe to close this one @bahreex ?

Yes. Definitely :-)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

sa7mon picture sa7mon  路  3Comments

justmao945 picture justmao945  路  3Comments

balazssoltesz picture balazssoltesz  路  3Comments

broady picture broady  路  3Comments

chrischabot picture chrischabot  路  3Comments