-
Notifications
You must be signed in to change notification settings - Fork 5.9k
DO Guide - ERR_CONNECTION_REFUSED - CentOS 7 #1875
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
|
Ah but the |
Yeah I was accessing it directly on the public IP. Also, |
I remember there seemed to be an issue with user systemd units in Centos, maybe that's what's going on. Discussion/solution here: #1771 |
I'm still getting a Here's how my
|
Is there any output from code-server when it runs via the systemd service? It should output the version number among a few other things. |
Hmm, I don't think. It fails as soon as it starts. Here's the output:
|
Interesting, maybe that What if you tried launching the script directly instead of using the symlink? It should be If that doesn't work, maybe running it with Node directly will work: |
Umm, I never thought about that. I'll give it a try and update you soon. :) |
Just change the line in service:
to
then it will work correctly. That is because the binary file is in the directory |
Going to close as there hasn't been a response in a long time! |
Hello,
So I installed
code-server
following this guide - https://www.digitalocean.com/community/tutorials/how-to-set-up-the-code-server-cloud-ide-platform-on-centos-7 Before proceeding onto the subdomain configuration, I wanted to ensure that it's working and to my dismay I'm only getting anERR_CONNECTION_REFUSED
in the web browser.code-server --version
: v3.4.1At first, I'd like to mention that I've a previously running VestaCP installation on that server, so Apache and Nginx were pre-installed and running. Now, I was trying to bind
code-server
to port 1313, which has been opened in the firewall.But again
sudo lsof -i:1313
produces no output. :(Here's the
code-server.service
file.I've checked issue #737 but doesn't seem to help either.
The text was updated successfully, but these errors were encountered: