`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.
More on Connectivity: refused, timed out, no route
`curl: (7) Failed to connect to 10.0.2.15 port 8080: Connection refused`Beginner`curl: (28) Failed to connect to api.internal port 443 after 130001 ms: Connection timed out`Beginner`ssh: connect to host 10.1.4.20 port 22: No route to host`BeginnerService works with `curl localhost:3000` on the box but times out from other hosts.Beginner`ping` works but `curl` to port 80 on the same host times out.Beginner`curl` to a public site works, but `ping 8.8.8.8` shows 100% packet loss.Beginner