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's avatar Darrell Bunnell  |  August 18, 2020 at 1:18 pm

    Thanks for sharing your thoughts on linux kernel. Regards

    Reply

Leave a reply to Darrell Bunnell Cancel reply

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

Trackback this post  |  Subscribe to the comments via RSS Feed


Archives

Categories

Follow Hope you like it.. on WordPress.com

Blog Stats

  • 92,868 hits