-
Notifications
You must be signed in to change notification settings - Fork 5.9k
Code-server is starting but cannot be opened in browser (endless loading) #289
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Might be something strange occurring because of the VM. Do you have the |
I have similar situation. Ubuntu linux, the latest code-server-1.32.0-310-linux-x64.tar.gz
From lsof command i see that port is used But request of / have no response |
To add another data point, I run into this issue on WSL with ubuntu
|
@SpencerPark it depends on what the node-netstat dependency relies at. |
Same thing happening to me on Manjaro. (No VM) |
I get the same problem when running the binary on a Digital Ocean droplet following the Inspecting the dockerized version (can connect): docker-pr 11706 root 4u IPv6 211024 0t0 TCP *:8443 (LISTEN) binary version (can't connect): code-serv 12073 root 22u IPv4 214297 0t0 TCP *:8443 (LISTEN) It seems IPv6 works but IPv4 doesn't. This is strange though because IPv6 is actually disabled on the droplet (default setting). Out of curiosity, I tried enabling IPv6 but it made no difference. There's no firewall setup on the server that I can see either. |
For me, it turns out the Linux firewall was enabled and blocking the port. Nothing to do with IPv4 vs IPv6!
I think the firewall was installed for me because I chose the Ubuntu + Docker base image for the droplet instead of the default Ubuntu image. Docker handles the firewall automatically. |
Gonna close this since v2's web server has been completely rewritten, |
code-server
version: 1.32.0-282-linuxx64Description
After starting the code-server it's not reachable via browser (endless loading). Last output from code-server:
INFO Starting shared process [1/5]...
Steps to Reproduce
The text was updated successfully, but these errors were encountered: