`curl https://app.example.com` hangs and ends with "Connection timed out" on port 443.

BeginnerTroubleshootingSite down
Answer

Likely causes → A timeout (not "refused") means packets are being dropped: security group or NACL change, LB deleted or in the wrong subnets, route table lost its internet gateway route, or DNS pointing at a dead IP.

Diagnose →

dig +short app.example.com            # is this the LB you expect?
nc -vz -w 5 app.example.com 443
aws ec2 describe-security-groups --group-ids $SG --query 'SecurityGroups[].IpPermissions'
traceroute -T -p 443 app.example.com

Fix → Restore the inbound 443 rule or route, or point DNS back at the live LB.

Prevent → Network changes only through IaC with review, VPC Flow Logs enabled, and external synthetics that tell you within a minute.

All Real-World Interview questions Roadmap: Interview readiness

More on Site down