Wednesday, September 17, 2008

How to find out which process is listening upon a port?

How to find out which process is listening upon a port (say 6000) ?

$ lsof -i :6000

Alternatively, you can use following command:

$ fuser -v -n tcp 6000

No comments: