Skip to content

How can I install code-server in vbox? #2006

Answered by cathaysia
cathaysia asked this question in Q&A
Discussion options

You must be logged in to vote

Maybe I had slove this problem, I find this sentence 'It will listen onlocalhost to avoid exposing itself to the world' in Setup Guide#3. So I guess this problem may cause by this address. I let code-server listen 0.0.0.0:8080, then forward 8080 to 18080 by vbox. Now it works!

This is my conf:

# ~/.config/code-server
bind-addr: 0.0.0.0:8080
auth: password
password: 1234
cert: false

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by bpmct
Comment options

You must be logged in to vote
0 replies
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
Converted from issue

This discussion was converted from issue #2006 on August 26, 2020 17:50.