Sunday, 19 June 2016

How to find the processes listening on a port ?


Using netstat command
netstat -nap | grep 8080

It will display all the processes listening on 8080 port.
OR

Using lsof command
lsof –i : 8080

It will also display all the processes listening on 8080 port.

No comments:

Post a Comment

Note: only a member of this blog may post a comment.