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

`curl` to a public site works, but `ping 8.8.8.8` shows 100% packet loss.

BeginnerTroubleshootingConnectivity: refused, timed out, no route
Answer

Likely causes → ICMP is blocked outbound by a security group/NACL or corporate firewall, or the cloud provider does not route ICMP through that egress path.

Diagnose →

curl -sS -o /dev/null -w '%{http_code}\n' https://example.com
traceroute -T -p 443 8.8.8.8      # TCP traceroute sidesteps ICMP echo filtering

Fix → Nothing to fix for apps. If you need ICMP for diagnostics, allow ICMP echo outbound and replies inbound in the NACL.

Prevent → Don't use ping as the single signal of "network up" in monitoring.

All Networking questions Roadmap: Networking for DevOps

More on Connectivity: refused, timed out, no route