Wednesday 25 February 2015

Which process is using my port?

Find out which process is listening on port 6501:
  netstat -anpt | grep 6501

output: [num before python is process id]
tcp        0      0 127.0.1.1:6501          0.0.0.0:*               LISTEN      26541/python  

No comments:

Post a Comment