What the message looks like
This site can’t be reached
cloud.beispiel.de took too long to respond.
ERR_CONNECTION_TIMED_OUTCommon causes
- A firewall silently drops packets with DROP: server firewall, cloud security group or router.
- The server is switched off, overloaded, or the network path to it is broken.
- The DNS record points to a wrong or no-longer-used IP address.
- The port is filtered along the way, for example by a corporate network, hotel Wi-Fi or ISP.
- Routing or MTU problems, a hung VPN tunnel or a faulty proxy on the visitor's side.
Check
- Test the connection with a time limit
curl -v --connect-timeout 10 https://cloud.beispiel.de/ - Is the port open or filtered from outside?
nc -zv -w 5 cloud.beispiel.de 443 - Where does the path break?
mtr -rwc 10 cloud.beispiel.de - On the server: do packets arrive at all?
sudo tcpdump -ni any port 443 and host 198.51.100.7
Fix
- Check that the IP in DNS is correct (
dig +short cloud.beispiel.de) and that the server is running and reachable. - Open the port on every firewall layer:
ufw allow 443/tcp, the provider's security group, router rules. - Under heavy load, check resources (
uptime,free -h) and restart overloaded services. - Check the router's port forward and the fixed IP of the target device.
- As a visitor: try another network or mobile data, turn off VPN and proxy, restart the device and the router.
Typical scenario
An admin sets up a new server at a cloud provider, installs nginx and cannot reach the site: ERR_CONNECTION_TIMED_OUT. Locally curl localhost answers, from outside nothing does. The only thing missing is the rule for port 443 in the provider's security group, which drops the packets.
FAQ
How is it different from ERR_CONNECTION_REFUSED?
With “timed out” nothing answers, usually because packets are dropped. With “refused” the target answers at once and rejects the connection, which points to a service that is not running or to REJECT.
Is this a 504 Gateway Timeout?
No. ERR_CONNECTION_TIMED_OUT happens during connection setup, before any HTTP request. A 504 comes from a server or proxy that was reachable.
Why does the error take so long to appear?
The client retries the connection several times before giving up, and only then reports the timeout. With curl --connect-timeout 5 you see the result faster.
Does turning off the firewall on the server help?
Only as a short test, and only if you know nothing else filters in front. Cloud security groups and router rules sit outside the server and are unaffected.