What Process is listening on each port?

To quickly see what process is listening on each network port, use the Linux command: ss

ss -p -A inet -l -n
  • ‘-p’ , show process using port
  • ‘-A inet’, all internet sockets
  • ‘-l’ , ONLY listening sockets
  • ‘-n’ , show port NUMBER, not service name

Leave a comment