How to Fix "Connection Timed Out" SSH Issue on CloudPanel?
2025-03-22 16:08:45
#1
I encountered a "CONNECTION TIMED OUT" error when trying to SSH into my CloudPanel VPS. Before this, I changed a password via the panel, tried restarting Apache using the "Fix" button, and then lost access to SSH and my dashboard. My provider says it's an application-level issue. How can I resolve this on CloudPanel?
2025-03-22 16:11:08
#2
A "CONNECTION TIMED OUT" SSH issue usually indicates a firewall misconfiguration, service crash, or blocked IP address.

Here are steps to resolve this issue on CloudPanel:




🔸 Step 1: Check IP Blocklist and Firewall



Your IP might be blocked by the integrated firewall (UFW):
  • If you have console or KVM access provided by your VPS😖udo ufw status

    If your IP is blocked, remove it😖udo ufw delete deny from your.ip.address.here
  • Alternatively, disable the firewall temporarily for troubleshooting😖udo ufw disable

🔸 Step 2: Check SSH Service Status



Ensure SSH is running:

sudo systemctl status ssh


If SSH isn't active, restart it:

sudo systemctl restart ssh


🔸 Step 3: Check Nginx Service Status



If Nginx crashed or failed to start correctly, it could impact your system:
  • For Nginx:
  • CODE_BLOCK_2

🔸 Step 4: CloudPanel Internal Fix



If you suspect that clicking the "Fix" button caused issues, manually verify CloudPanel health via SSH/console:

clpctl system😛ermissions:reset --directories=770 --files=660 --path=.


Then restart CloudPanel and PHP-FPM:

sudo systemctl restart cloudpanel
sudo systemctl restart php8.3-fpm  # Replace '8.3' with your PHP version


🔸 Step 5: Review Provider-level Firewall


Double-check your Cloud Provider Firewall settings (such as AWS Security Groups, DigitalOcean Firewall, etc.):
  • Ensure port 22 (SSH) and port 8443 (CloudPanel) are allowed for your IP.

🔸 Step 6: Check Server Resource Usage


Resource exhaustion (CPU, RAM) can also cause timeouts:

htop
free -m


Check for high resource usage or heavy server loads and reboot if necessary:

sudo reboot


🔸 Step 7: Contact Support


If the problem persists after these steps, contact your CloudPanel provider or VPS support for further assistance.
Yazdığımız şeyler bizi temsil eder, Efendilik iyidir.
Please Login or Register.
Currently 1 people reading this topic. (1 guest(s))