-
Hi, I want install code-server to fedora 32 server of vbox. However, when I start code-server service, I can't access it. And this guide seem useless for me. My vbox use NAT(not NAT NETWORK), I forward :8080 to localhost:18080 by vbox, my web browser can't get any page and stop quickly. When I use ssh connect to fedora, and try Hava any way for me to resolve this problem? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
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 |
Beta Was this translation helpful? Give feedback.
-
Awesome! Glad you got it working :) |
Beta Was this translation helpful? Give feedback.
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: