Browse - Computer Tips - How can I find what's listening on a certain port?

Date: 2016sep16
OS: Linux

Q.  How can I find what's listening on a certain port?

A.  Use lsof (list open files) and grep for the port.
For example:

lsof -P | grep 8080
The -P option tells lsof not to convert the port number into a name.