Updated

What you see

You connect to your server and nothing happens for a while, then:
ssh: connect to host 203.0.113.24 port 22: Connection timed out

What it means

Nothing answered. Unlike “Connection refused” — where the server replies that nothing is listening — a timeout means your request vanished: the address is wrong, the server is off, or a firewall silently dropped it.
Quick fix
Check that the IP address is the one your host shows now, that the server is running, and that the port is open in your host's firewall settings (and the server's own).

Causes and how to fix them

1. The address is wrong or has changed

Copy the IP from your host's control panel again. Rebuilding or recreating a server often gives it a new address. A private address such as 10.x or 192.168.x never works from outside.

2. The server is off or still starting

After creating or rebooting a server, wait a minute or two. In the control panel, check that it shows as running, and use the host's web console to see if it booted.

3. A firewall in front of the server drops port 22

Many hosts have firewalls separate from the server: security groups on AWS, security lists on Oracle Cloud, firewall tabs on Hetzner and others. Make sure TCP port 22 is allowed in. To test whether the port is reachable, on Windows in PowerShell:
Test-NetConnection 203.0.113.24 -Port 22
On macOS or Linux:
nc -vz 203.0.113.24 22

4. SSH listens on another port

Some hosts, and some people, move SSH off port 22. Check the welcome email or the control panel, then connect with -p:
ssh -p 2222 root@203.0.113.24

5. Your own network blocks outgoing SSH

Some offices, schools and public Wi-Fi block port 22. If the same command works from your phone's hotspot, that's why.

6. The server's firewall or fail2ban dropped you

Too many failed logins can get your address banned for a while, and the server's own firewall (ufw) may not allow SSH. If you can reach the host's web console, check:
sudo ufw status
sudo fail2ban-client status sshd

Using Nullsify?

When you add a server, Nullsify connects to it from our servers, not from your computer: the IP and port you enter must be reachable from the internet, and the host's firewall must allow SSH. If you can connect from your own computer but Nullsify can't, check for a firewall rule that only allows your own address.
Free for 1 server. Bring your own VPS — Nullsify configures WireGuard, AmneziaWG or VLESS on it for you.

Related problems

Read more