Interview Prep/Networking/Connectivity: refused, timed out, no route

`curl -v` hangs at `* Trying 2606:4700::6810:84e5:443...` for a long time, then succeeds.

IntermediateTroubleshootingConnectivity: refused, timed out, no route
Answer

Likely causes → The host has an IPv6 address and route, tries AAAA first, but IPv6 is broken somewhere upstream. curl's Happy Eyeballs falls back to IPv4 after a delay; older clients just wait for the full timeout.

Diagnose →

curl -6 -v --connect-timeout 5 https://example.com
curl -4 -v https://example.com
ip -6 route; ping -6 -c 3 2606:4700:4700::1111

Fix → Fix IPv6 routing/firewall, or if IPv6 isn't supported, remove the IPv6 default route or prefer IPv4 via /etc/gai.conf (precedence ::ffff:0:0/96 100).

Prevent → Treat IPv6 as a first-class path in monitoring if it is enabled anywhere.

All Networking questions Roadmap: Networking for DevOps

More on Connectivity: refused, timed out, no route