One site won’t open, but everything else does

Find where it stops: the name, the connection, the encryption or the page. One command for each step on macOS and Windows, and what to do about each result.

Popo
On this page

If other sites work, your internet connection works. Something is wrong between you and this one site, and it's in one of four places. Start with two quick tests, then look for the step that fails.

Two quick tests

Try it elsewhere. What makes it work tells you where the cause is:

Works…Then the cause is probably
in a private windowCookies, stored data or an extension
in another browserA setting or extension in the first
on another device, same Wi-FiThis device: DNS, security software, hosts file
on mobile data, same deviceYour network: router, provider or filter
nowhere you tryThe site, or the route to it
Work down the list. Changing one thing at a time is what makes the answer clear.

Ask whether others can reach it. If it's a large service, look at its official status. To test any site from elsewhere, run a global ping: probes in many countries try to reach it. If they all fail, it isn't you. (Some sites ignore ping, so if every probe times out, confirm it another way, such as on mobile data.)

The connectivity check tests popular sites from your browser. If all the rest of a group fail too, it's a wider problem:

Four steps, one command each

  1. 1NameDNS turns the name into an address
  2. 2ConnectionTCP reaches that address
  3. 3EncryptionTLS checks the certificate
  4. 4PageHTTP returns an answer

Each step needs the one before it. Find the first that fails.

What has to happen before a page appears.

Replace ckip.net with the site you can't open. The commands are for macOS and Linux first, then for Windows.

Name

Terminal
dig +noall +comments ckip.net | grep status
Command Prompt
nslookup ckip.net

NOERROR (or an address, in nslookup) means that the name is fine. For a name that doesn't exist, the answer is:

Output
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 44234
  • NXDOMAIN: there's no such name. Check the spelling. If you're sure it exists, your resolver may be filtering it.
  • SERVFAIL: the name exists, but the resolver couldn't get or verify the answer.
  • No reply: your DNS server isn't reachable.

To find out whether it's your resolver, ask another one: dig ckip.net @1.1.1.1 or nslookup ckip.net 1.1.1.1. If that works and yours doesn't, change the DNS server in your network settings, or restart the router. Also check that the name isn't overridden in your hosts file (/etc/hosts, or C:\Windows\System32\drivers\etc\hosts).

Connection

Terminal
nc -vz -G 5 ckip.net 443
PowerShell
Test-NetConnection ckip.net -Port 443

(-G 5 is the timeout on macOS; on Linux use -w 5.) "Succeeded" means a connection could be opened. Otherwise:

  • Refused: the machine was reached and rejected it. The server program may not be running.
  • Timed out: nothing came back. A firewall is dropping it, the server is off, or the route is broken. Run a traceroute to see how far it gets.

If it times out only over IPv6, your IPv6 connection is broken. Test with curl -4 and curl -6.

Encryption

Terminal
curl -sS -o /dev/null https://wrong.host.badssl.com/curl: (60) SSL: no alternative certificate subject name matches target host name 'wrong.host.badssl.com'

In Windows, use curl.exe in the same way. This is a test site with a deliberately wrong certificate. No output means that encryption is fine. With a certificate error, first check your computer's date and time, which is a common cause when many sites fail. If just one site fails, it's that site's certificate. On a company network it may be the inspection proxy's. Don't click through a certificate warning on a site where you sign in.

Page

Terminal
curl -sI https://ckip.net/ | head -1HTTP/2 200

A number means the site answered, so your network isn't the problem. 403 is a refusal and 404 a missing page. 429 means too many requests. 500 to 599 are faults on the site's side. Codes from 520 to 530, and pages with a four-digit number beginning with 1, come from Cloudflare.

All of them at once

curl -sS -o /dev/null https://the-site/ goes through the four steps in order and stops at the first failure. Its error tells you which:

curl saysStepMeaning
(6) Could not resolve hostNameNo address for this name
(7) Couldn’t connect to serverConnectionRefused: reached, but nothing accepts it
(28) Timeout was reachedConnectionNo reply at all
(35) SSL … errorEncryptionThe other side didn’t speak TLS properly
(60) certificate problemEncryptionThe certificate isn’t valid for this site
(52) Empty reply from serverPageConnected, then closed without an answer
(56) Connection reset by peerPageCut off in the middle
A number from 400 to 599PageThe site answered with an error
We triggered each of these with curl 8.7.1 on macOS on 30 November 2026. The wording differs between systems; the number doesn't.

If curl succeeds and the browser fails, the cause is in the browser: cookies, an extension, its own DNS or a proxy setting. Browsers show their own codes, explained in what browser errors mean.

Special cases

  • An AI service? Region and account come into it too: is it down, or is it your network?
  • Only at work or school? It may be blocked on purpose. Ask, rather than changing settings on a managed device.
  • Only with a VPN on? The site may refuse that exit, or the VPN sends it along a different route.
  • It opens, but asks whether you're human, over and over? See why it loops.

Telling someone about it

A good report contains the time with time zone, the exact message, the first step that failed, and whether it works on mobile data. "It doesn't work" can't be acted on. "Connection times out from provider X since 14:00 UTC, works on mobile" can.

More in Network troubleshooting

Sites that won’t load, slow connections and error codes

All 11 articles