troubleshooting · · 5 min read

A Site Loads on Mobile Data but Not on WiFi: How to Find Out Why

DNS block, CDN rate limit, or an ISP routing blackhole? Five commands tell you which one you have — and whether the fix is one line or a call to your ISP.

A site hangs forever on your home WiFi, then loads instantly the second you tether to your phone. Same laptop, same browser, same minute. Three very different problems produce that exact symptom, and guessing wrong wastes an evening.

Here’s how to tell them apart with dig, nc, and traceroute. I’ll walk through a real case — https://cursor.com timing out on my ISP — but the method works for any host.

Rule out DNS first 🔍

Most “site blocked” reports in Indonesia are DNS-level. So check whether your resolver is lying to you:

for r in 192.168.1.1 1.1.1.1 8.8.8.8 9.9.9.9; do
  printf "%-14s " $r; dig +short @$r cursor.com A | tr '\n' ' '; echo
done

Output:

192.168.1.1    76.76.21.21
1.1.1.1        76.76.21.21
8.8.8.8        76.76.21.21
9.9.9.9        76.76.21.21

Every resolver — including the ISP router — returns the same address, and 76.76.21.21 is a real Vercel anycast IP. No hijack, no injected block page. DNS is innocent, so switching to Cloudflare DNS will not help here.

Confirm the TCP layer is dead

nc -z -G 5 -v 76.76.21.21 443
nc -z -G 5 -v 76.76.21.21 80
ping -c 3 76.76.21.21
nc: connectx to 76.76.21.21 port 443 (tcp) failed: Operation timed out
nc: connectx to 76.76.21.21 port 80 (tcp) failed: Operation timed out
3 packets transmitted, 0 packets received, 100.0% packet loss

Both ports dead plus 100% ICMP loss means packets are being dropped silently. A real firewall usually sends an RST or an ICMP unreachable. Silence points to a blackhole route.

Find where the packets die

traceroute -w 1 -q 1 -m 15 76.76.21.21
 1  gpon.net (192.168.1.1)                     6.245 ms
 2  192.112.1.1                                4.750 ms
 3  103.227.187.10                             5.084 ms
 4  10.27.28.0                                25.381 ms
 5  103.16.188.193                            26.287 ms
 6  103.16.190.21                             27.325 ms
 7  57.14.12.103.net.iforte.net.id            27.642 ms
 8  *
 9  *
...

The trace walks through your router, your ISP’s access layer, and reaches the upstream edge — then stops. Nothing past hop 7. The drop happens inside the ISP’s network, before traffic ever reaches Vercel.

Prove the destination is actually healthy

This is the step people skip, and it’s the one that tells you the site isn’t down. Probe a neighbouring IP in the same Vercel range:

nc -z -G 4 -v 76.76.21.22 443
Connection to 76.76.21.22 port 443 [tcp/https] succeeded!

One IP dead, the one next door alive. That’s a per-IP blackhole, not a provider outage and not a country-wide block.

Why www doesn’t save you

www.cursor.com resolves to a different edge IP that answers fine — but it only answers with a redirect:

curl -sIL https://www.cursor.com | grep -iE '^(HTTP|location|server)'
HTTP/2 308
location: https://cursor.com/
server: Vercel

The redirect points straight back at the apex, which is the blackholed IP. Dead end.

The workaround ✅

Vercel’s edge routes by the Host header, so any healthy edge IP will serve the right site. Verify before you commit to one:

for ip in 76.76.21.164 76.76.21.22 76.76.21.123; do
  printf "%-16s " $ip
  curl -s -o /dev/null -w "%{http_code}\n" --max-time 10 \
    --resolve cursor.com:443:$ip https://cursor.com/
done
76.76.21.164     200
76.76.21.22      200
76.76.21.123     200

All three work. Pin one in /etc/hosts:

echo "76.76.21.164 cursor.com www.cursor.com" | sudo tee -a /etc/hosts
sudo dscacheutil -flushcache   # macOS
# sudo resolvectl flush-caches # systemd-resolved

Remove that line once your ISP fixes the route — edge IPs rotate, and a stale pin becomes your next mystery outage.

A VPN fixes it too, by moving your traffic onto a path that doesn’t contain the broken hop.

Don’t confuse this with a rate limit

The same evening, flowbite.com was also failing for me — but with a completely different signature:

curl -sI https://www.flowbite.com | head -5
HTTP/2 429
server: CloudFront
x-cache: Error from cloudfront

Here the connection succeeded and TLS completed; the CDN answered with 429 Too Many Requests. That’s your shared NAT public IP tripping a rate limit, which clears on its own. Repeating the request confirmed it:

429 429 200 200 200

Two different failures, two different fixes:

SymptomDiagnosisFix
TCP timeout, traceroute dies at ISP, neighbour IP aliveRouting blackhole on one IPPin a healthy edge IP in /etc/hosts, or use a VPN
TLS completes, CDN returns 429Shared public IP rate-limitedWait it out, or change exit IP
Resolver returns a different IP than public resolversDNS hijack / block pageSwitch DNS or use DoH

Quick triage checklist 🛠️

  1. dig +short @1.1.1.1 <host> vs your router — same answer? DNS is fine.
  2. nc -z -v <ip> 443 — timeout means dropped, RST means filtered.
  3. traceroute <ip> — note the last hop that answers; that’s your suspect.
  4. Test a neighbouring IP in the same block — proves the provider is up.
  5. curl --resolve host:443:<alt-ip> — confirms the host works over another edge.

The lesson: “the site is blocked” is three different problems wearing the same symptom. Five minutes with dig, nc, and traceroute tells you which one you actually have — and whether the fix is one line or a phone call to your ISP. 🌐