my site not working (error_connection refused). sudo reboot not working

October 9, 2017 868 views
Control Panels Linux Commands

my website and not working .
I am getting error as errorconnectionrefused .
in console i am getting message as system restart required . So i tried with sudo reboot command in control panel but website has not yet started

1 Answer

You mentioned that the website didn’t start back up. Did your droplet begin responding to ping requests? Are you able to reach it by SSH? If not can you log in via the console in the control panel?

Once you get access to your server you can try restarting your web server to see if that brings your site back online or displays an error that will help in tracking down the issue. Since you haven’t provided any details on either the operating system or the web server you are running I’ve provided the commands for the two most common web servers below:

For Apache on Ubuntu/Debian:

service apache2 restart

For Apache on CentOS/Fedora

service httpd restart

For Nginx:

service nginx restart
Have another answer? Share your knowledge.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!