Networking and protocols, topic 19 of 78
Networking tools
When something cannot connect, work up the layers. ping and traceroute for reachability and the route, dig for the name, ss -tlnp for what is listening on a port, curl or nc to try the port itself, and tcpdump to see the packets when nothing else explains it.
Practise on a working system, so you know what normal looks like before you need it.
On Opsfolk
Nothing of ours for this topic yet: an article is on its way.
Elsewhere
- ss(8) manual pageOfficial
- tcpdump manual pageOfficial