What ERR_CONNECTION_TIMED_OUT means
ERR_CONNECTION_TIMED_OUT means your browser tried to open a connection to the website's server and got no reply at all before it gave up. Chromium lists it internally as error -118 ("A connection attempt timed out"), and Chrome and Edge show it under the message "This site can't be reached ... took too long to respond". Firefox calls the same failure "The connection has timed out".
To open a connection, the browser sends a TCP SYN packet to the server's IP address on port 443 (or 80 for http) and waits for a SYN-ACK. If nothing comes back, it resends a few times, then stops. Silence is the key difference from other errors: a server that is up but has nothing listening would answer with a refusal, and a connection that opens and is then cut produces a reset. A timeout means the packets were lost somewhere, or something deliberately ignored them.
The usual reasons, from most to least common:
- A firewall drops the packets. A rule set to DROP (ufw calls it deny) discards traffic without answering, so the browser waits until it times out.
- The IP address is wrong. DNS, your hosts file or a stale cache points to a server that no longer exists or no longer hosts the site.
- The server or its network is down or overloaded. A powered-off machine, a failed network link, or a server too busy to accept new connections all look the same from outside.
- Something on your side blocks the path. A dead proxy, a VPN, security software, a router fault, or a network-level block.
If you are a visitor
Try these in order. The first two settle most cases in under a minute.
1. Test from a different network
Open the same address on your phone using mobile data with Wi-Fi switched off. If it loads there, the website is fine and the problem is your computer, router or broadband connection. If it times out on Jio, Airtel and your home broadband alike, the site itself is down or blocking traffic, and only its owner can fix that.
2. Reload, then restart your router
Brief packet loss on the path can cause a one-off timeout, so reload the page once. If several sites time out, switch the router off for 30 seconds and back on. This clears a hung router and often gets you a fresh session from the ISP.
3. Turn off VPN, proxy and extensions
A VPN or proxy that has stopped responding makes every site time out, because the browser is waiting on the proxy, not the website.
- Windows: Settings > Network & internet > Proxy. Switch off "Use a proxy server" unless your workplace set it, and leave "Automatically detect settings" on.
- Mac: System Settings > Network, choose your connection, click Details > Proxies, and turn off any proxy you did not set up.
- Android: Settings > Network & internet > Internet, tap the gear next to your Wi-Fi network, and check that Proxy is set to None (on some phones it sits under Advanced or Edit network).
Then disconnect any VPN app and try Chrome in an Incognito window, which runs with most extensions disabled.
4. Clear stale DNS
If a website has just moved to a new host, your device may still connect to the old IP address, which now ignores the request. Clear the caches:
# Windows (Command Prompt as administrator)
ipconfig /flushdns
# macOS
sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder
# Chrome on any system: open this page and click "Clear host cache"
chrome://net-internals/#dns
On Android, toggle Aeroplane mode on and off to drop cached lookups. If timeouts keep happening with your ISP's DNS, a public resolver can help; our DNS resolver guide for India compares the common choices, and Android's Private DNS setting (usually under Settings > Network & internet, though the menu path varies by phone maker) applies one to both Wi-Fi and mobile data.
5. Check security software and the hosts file
Antivirus suites with a "web shield" or their own firewall can silently drop connections. Pause it for a minute to test, then update it rather than leaving it off. On Windows, also open C:\Windows\System32\drivers\etc\hosts in Notepad as administrator: a line that maps the site to an old IP address overrides DNS completely. On a Mac the file is /etc/hosts.
6. Consider a network-level block
Offices, colleges and public Wi-Fi often filter sites, and Indian ISPs are sometimes required to block specific URLs. A block may show a notice page, but it can also look like a plain timeout. If the site loads on mobile data but never on one particular network, ask that network's administrator or ISP.
If you run the website
Start from outside the server, then work inwards. Replace example.in and 203.0.113.10 with your domain and server IP.
Confirm what the outside world sees
dig +short example.in A
nc -vz -w 5 example.in 443
curl -v --connect-timeout 10 https://example.in/
First check that dig returns the IP you expect. Then nc attempts a bare TCP connection with a 5 second limit: "succeeded" or "open" means the port answers, "Connection refused" means the host replied but nothing listens there (see our connection refused guide), and a timeout reproduces the visitor's problem. curl -v shows the same with more detail; if it hangs at "Trying 203.0.113.10:443..." the SYN is going unanswered.
Trace where packets stop
sudo traceroute -T -p 443 example.in # Linux, TCP mode
mtr -T -P 443 -c 50 -r example.in # TCP mode, report after 50 cycles
Plain traceroute uses UDP or ICMP, which many networks filter, so TCP mode on port 443 gives a more honest picture. Stars on a few middle hops are normal. What matters is the end: if replies stop at your provider's network edge or at the server's own address, the drop is at or near your server. If mtr shows heavy loss starting at one hop and continuing to the end, the problem is on that part of the route.
Firewall: DROP versus REJECT
This is the most common server-side cause. A DROP rule throws the packet away and sends nothing, so clients wait and time out. A REJECT rule replies with a TCP reset or an ICMP error, so clients fail at once with "refused". The ufw manual describes the same split between its deny and reject actions. Check the host firewall:
sudo ufw status verbose
sudo ufw allow 80/tcp
sudo ufw allow 443/tcp
# without ufw
sudo nft list ruleset
sudo iptables -L -n -v --line-numbers
A Default: deny (incoming) policy with no rule for 80 and 443 explains a timeout exactly. Before running sudo ufw enable over SSH, allow your SSH port first or you will lock yourself out.
Then check every firewall in front of the server: a cloud or provider firewall, a security group, or a hardware firewall. These usually drop rather than reject, so a missing rule there also looks like a timeout, and nothing appears in the server's own logs because the packets never arrive.
See whether packets reach the server
sudo tcpdump -ni any 'tcp port 443 and tcp[tcpflags] & tcp-syn != 0'
Load the site from another network while this runs. No output means the SYN never reaches the machine, so look at DNS, upstream firewalls or routing. SYNs arriving with no replies going out means the host itself is dropping them: its firewall, a blocklist, or an overloaded listen queue.
Blocked visitor IPs
If only some people get the timeout, their IP may be banned. Fail2ban, CSF and similar tools add drop rules for addresses that trip a limit, which can catch a whole office behind one public IP, or many mobile users sharing a carrier's NAT address. Check with sudo fail2ban-client status and the relevant jail, and unban with sudo fail2ban-client set <jail> unbanip <address>.
Overloaded server
When a server is short of CPU or memory, or its accept queue is full, new SYNs can be ignored even though the firewall is open. Look at load and memory with uptime and free -h, check dmesg -T | tail for out-of-memory kills, and run nstat -az TcpExtListenOverflows: a rising count means connections arrive faster than the web server accepts them. Tune worker counts, add caching, block abusive bots, or move to a larger plan. On a Bigdomainhost KVM VPS, a larger plan is an in-place resize: vCPU, RAM and disk grow with one reboot and nothing is reinstalled.
Slow upstream is a different error
If the TCP connection opens but the application takes too long to answer, visitors usually see a gateway error instead. nginx in front of a slow PHP-FPM or Node app returns a 504 Gateway Timeout, and Cloudflare returns error 524. With the Cloudflare proxy on, a firewall dropping Cloudflare's own connections shows as error 522 (connection timed out), not as ERR_CONNECTION_TIMED_OUT, so allow Cloudflare's IP ranges on ports 80 and 443.
How to tell which side the problem is on
| What you observe | Most likely side |
|---|---|
| Site loads on mobile data but not on your Wi-Fi | Your device, router, ISP or network filter |
| Every site times out, not just one | Your device or connection (proxy, VPN, router) |
| Site times out from every network and from online checkers | The server, its firewall or its DNS |
| Works for most people, fails for one office or user | An IP ban on the server, or that user's network |
nc says refused rather than timing out | Server reachable, web service not listening |
| Page starts loading, then shows 504 or 524 | Slow application behind a proxy, not a connection timeout |
The quickest single test is the phone on mobile data. To check the route from your connection to our Mumbai location, the browser latency test shows round-trip times without installing anything. If the connection opens and then drops, see ERR_CONNECTION_RESET instead.
Timeouts on a Bigdomainhost VPS
On a KVM VPS the server firewall's default policy denies inbound traffic except SSH on port 22. A new site on a fresh VPS can therefore time out until you add inbound rules for ports 80 and 443 in the panel, even when ss -tlnp shows nginx listening. The networking and firewall docs explain the rules, and the out-of-band console gets you back in if a firewall change blocks SSH. On Web & cPanel hosting the server side is managed for you: send support your domain, your public IP and the time of the error on WhatsApp (any time) or by phone during IST business hours.
Sources (checked )
- Chromium: net/base/net_error_list.h
- Google Chrome Help: Fix connection and loading errors in Chrome
- IETF: RFC 9293: Transmission Control Protocol (TCP)
- Ubuntu Manpages: ufw(8)
- Cloudflare Docs: Error 522: connection timed out
How Bigdomainhost can help
A timeout is usually a firewall rule or a route, and both are easier to fix on a server you control that sits close to your visitors. Bigdomainhost runs KVM VPS in Mumbai (BOM-1) and Delhi NCR (DEL-1) with full root access, a panel firewall you set yourself and an out-of-band console that still works when a rule blocks SSH, backed by a 99.9% network and power commitment in our SLA. If a site still times out, our engineers answer WhatsApp at any time and the phone in IST hours, and can trace it with you.