Ephemeral port exhaustion troubleshooting
Count TIME-WAIT sockets vs port range; note: tune tw_reuse not tw_recycle
ss -tan state time-wait | wc -l; sysctl net.ipv4.ip_local_port_range
more troubleshooting
all 32 commands →
Socket summary stats
ss -s; ss -tan state syn-sent | wc -l
Path MTU discovery
tracepath -n <host>; ping -M do -s 1472 -c2 <host>
Confirm egress route and ARP
ip route get <ip>; ip neigh show | grep -E 'FAILED|INCOMPLETE'
TCP port reachability past firewall
traceroute -T -p 443 <host>; nc -zv <host> 443
Bypass DNS with curl --resolve
curl -sv --resolve <host>:443:<ip> https://<host>/healthz