Andrew Fletcher published: 21 March 2020 (updated) 13 January 2021 1 minute read
I'm receiving a server not found when logging in to Plesk from shell or Terminal. Specifically the error message I'm receiving is
Can't connect to the server
My first reference for this fix is to run the command
sudo service httpd restart
Running this command you will see the following in Terminal
Stopping httpd: [ OK ] Starting httpd: [ OK ]
If this doesn't fix your error... and it didn't for me, my next step is to run a reboot command. However, note this command will shut down your websites and emails on the respective server.
sudo reboot
By running the reboot command you should see the following in Terminal
Broadcast message from root@your-host.com (/dev/pts/1) at 11:05 ... The system is going down for reboot NOW! -bash-4.1# Connection to 123.45.678.901 {your server's ip address} closed by remote host.
Give it a minute or two and you should be back up and online.
Related articles
Andrew Fletcher
•
16 Jan 2025
get IP address from terminal OSX
When troubleshooting network issues or configuring devices, knowing your IP address can be essential. Whether you're connected via Wi-Fi, Ethernet, or tethering through a mobile provider, macOS offers powerful built-in tools to quickly identify your IP address. Here's a practical guide tailored to...
Andrew Fletcher
•
07 Jan 2025
Managing DDEV environment troubleshooting and setting up multiple Drupal projects
DDEV has become a popular tool for local web development, offering a streamlined approach to managing Docker-based environments. However, setting up and managing DDEV projects, particularly with the latest versions of Docker Desktop, can present challenges. This article guides you through resolving...
Andrew Fletcher
•
28 Dec 2024
Optimising file transfers by improving efficiency from cp to rsync
Transferring files between development and production environments is a critical task in the deployment process. However, I continue to come across multiple approaches that scale from awesome automation using pipelines to the basic of direct command line entry. Where the basic approaches rely on...