Monday, December 16, 2013

Find which process owns the socket listener AKA open port

In one word, lsof. For example the below will list the process which holds port 8080 open:
lsof -i tcp:8088
This is a useful one which any Linux sysadmin should be aware of.

No comments:

Followers