:::: MENU ::::

Find which process is using a specific port

  • Feb 11 / 2015
  • 0
Linux

Find which process is using a specific port

If you need to know/find which process is using a specific port on your system, you can use some default tools for troubleshooting:

  • netstat
  • lsof

WARNING: For the use of these tools, you will need root rights (or sudo rights will be efficient)

First, with netstat you can use options tnlpu to display much informations on connections:

Then, with lsof you can easily find which connections are opened on a specified port with the option -i on your command-line:

Share...Share on Google+Tweet about this on TwitterShare on RedditShare on LinkedInShare on FacebookEmail this to someone

Comments are closed.

Question ? Contact