Show listening TCP and UDP ports with processes.
Section: Networking and Remote Access
List listening sockets
bash
bash
ss -tulpnExplanation
Modern replacement for `netstat -tulpn` on many systems.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Networking and Remote Access