Find which process ID is using some IP port

How to find, in linux, which Process ID is using some TCP port

# lsof -w -n -i tcp:8080

or

# fuser -n tcp 8080

or

# netstat -anp|grep :8080[[:blank:]]

This entry was posted in Linux tips. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *