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

Posted October 9, 2017 1.2k views
Control PanelsLinux 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

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
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