We have a full production outage on an EC2 instance (eu-west-1) where inbound
TCP connections on ports 80 and 443 never reach the instance, while port 22
(SSH) works normally on the same box.
Setup: Single EC2 instance, single ENI, single Elastic IP, in a VPC with
one public subnet. Apache httpd (reverse proxy) + gunicorn serve two vhosts
over 80/443. No load balancer, WAF, or CDN — DNS points directly at the
instance's Elastic IP.
Symptom: From multiple independent external networks, curl/nc to the
instance's public IP on ports 80/443 return immediate connection refused /
timeout. Port 22 to the same IP succeeds instantly.
Troubleshooting done so far:
- Security Group (only SG on the ENI) — explicitly allows TCP 22/80/443
from 0.0.0.0/0.
- Subnet NACL — fully permissive allow-all inbound/outbound.
- Host-level firewall (firewalld/nftables + fail2ban) on the instance —
verified via nft list ruleset; 80/443 explicitly accepted; only 2 unrelated
IPs currently fail2ban-banned.
- Application health — httpd/gunicorn respond correctly to requests made
locally on the instance itself (via localhost and via the instance's own public
IP from inside the box).
- Packet capture on the instance — ran
tcpdump -i enX0 'tcp port 80 or tcp port 443' while triggering external connection attempts from outside.
Zero packets arrive at the interface. The SYN never reaches the guest OS's
NIC at all.
- Elastic IP swap test — to rule out an IP-specific reputation/abuse
restriction, allocated and associated a brand-new Elastic IP to the same
instance. Exact same symptom: port 22 worked immediately, 80/443 refused,
tcpdump showed zero packets again. Reverted back to the original EIP afterward.
- VPC Reachability Analyzer — ran a path analysis from the Internet
Gateway to the ENI on TCP/443. Result: "Reachable", with every intermediate
hop (NACL, Security Group) marked "succeeded." So AWS's own static path
simulation says this traffic should get through.
Where this leaves us: every customer-configurable layer (SG, NACL, route
table per Reachability Analyzer, host firewall, application) checks out clean,
and the block survives an Elastic IP change — so it doesn't look like a per-IP
reputation issue either. This points to something enforced outside the VPC's
configurable path (account-level or instance/ENI-level restriction, possibly a
Trust & Safety hold or an infrastructure-side mitigation), but we've found no
notification in the AWS Health Dashboard and nothing in the account's
registered email.
Has anyone hit this pattern before? Happy to share account details privately
with any AWS engineer who can help look into this. Any pointers on how to get this in front of the right team would be hugely appreciated.
I have previously encountered cases where HTTP communication to a specific IP was blocked due to network issues on the local PC rather than on the AWS side. I recommend checking your local network settings as well, just to be safe.