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

my website and not working . I am getting error as error_connection_refused . 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

Submit an answer

This textbox defaults to using Markdown to format your answer.

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

Sign In or Sign Up to Answer

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.

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