Last Updated: October 12, 2018
·
1.484K
· pykler

Show what PID is listening on a port (Linux)

Have you ever tried to start a server up and it can't grab the socket because "the port is in use"? this little command is the simplest way I know to quickly get the Process ID of the port hog

fuser -v 8080/tcp

2 Responses
Add your response

How about lsof -i | grep 8080

over 1 year ago ·

@barnettjw Works too, I used to use lsof, but found fuser to be much faster.

over 1 year ago ·