What processes are using a particular port?


If you want to see how many processes are connected on a particular port, you can use the following command on Linux platform:

lsof -i tcp:1234

Command is self descriptive. It will show only TCP connections using port 1234. Among other information this command also shows the process, its PID, user, and the IP/Port it is using.

Advertisements

Ask J

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s