Linux : How to find what program or service is listening on ports

By | May 1, 2013

To find out the network ports currently opened by running software on a Linux machine, simply use LSOF (list open files). This can also sort out the communication port as well.

 

To display IPv4 ports :

To display IPv6 ports :