Saturday, October 20, 2012

Find PID listening specific port

To find which process is listening a specific port, the 3 options below can be used.

netstat -alnp | grep ::80
or
fuser -v 80/tcp
or
lsof -nPi tcp:80

No comments:

Post a Comment