How to idenitfy a process ID using the TCP Port

October 23, 2011 at 1:57 pm 1 comment

Recently i had an issue  in one of my linux machines, where I was unable to start the acronis_agent service which listens on TCP Port ;

Later I realised  that already so many processes are listening on the TCP port.

To check the open connection for a TCP  port

# netstat -an | grep 9876   ( In my case acronis_agent uses TCP 9876)

It was showing multiple connections………….

To check the PID(Process ID ) for all the sessions  which are using the port 9876

#lsof -i TCP:9876

finally you could use  the  almighty command “kill -9 PID”  …. boom everything became normal.


Entry filed under: Linux.

Linux Guide Error – Login failed the user is not associated with the trusted SQL server coonection.

1 Comment Add your own

  • 1. Darrell Bunnell  |  August 18, 2020 at 1:18 pm

    Thanks for sharing your thoughts on linux kernel. Regards


Leave a Reply

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

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

Facebook photo

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

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Trackback this post  |  Subscribe to the comments via RSS Feed



Follow Hope you like it.. on

Blog Stats

  • 68,224 hits

%d bloggers like this: