Finding what process is using a port in Linux

I found a useful command to tell me what process is using a specific port. I use it when RubyMine doesn’t shut down the server properly and it keeps port 3000 locked.

netstat -tulpn | grep :80

Found here: http://www.cyberciti.biz/faq/what-process-has-open-linux-port/

Advertisements

Leave a Reply

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