You need to prove whether a specific firewall is dropping or rejecting traffic.
AdvancedTroubleshootingConnectivity: refused, timed out, no route
Answer
Likely causes → You suspect a filter but don't know which hop.
Diagnose →
# Refused vs timeout tells reject vs drop
nc -vz -w 3 target 8443
# TCP traceroute on the real port shows the last hop that answers
sudo traceroute -T -p 8443 target
sudo mtr -T -P 8443 -rwc 50 target
# Capture both sides of the suspected firewall at the same time
sudo tcpdump -ni eth0 host target and port 8443
Packets visible before the firewall but not after prove it drops them. An RST or ICMP admin-prohibited with the firewall's IP or TTL proves it rejects.
Fix → Change the rule with evidence attached.
Prevent → Enable firewall deny logging (flow logs, nft log) so the next time you can read the drop directly.
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