Clients can connect from one subnet but not from another to the same service.
IntermediateTroubleshootingConnectivity: refused, timed out, no route
Answer
Likely causes → Source-based filtering: SG/NACL allows only one CIDR, the host firewall whitelists a range, the app has an allow list, or return routing for the second subnet is missing.
Diagnose →
sudo tcpdump -ni eth0 'src net 10.0.8.0/24 and tcp port 443' # does it arrive?
ip route get 10.0.8.10 # how does the reply leave?
Fix → Allow the second CIDR, or add the return route. If the reply exits a different interface, enable policy routing or fix rp_filter.
Prevent → Reference security groups instead of CIDRs where possible.
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