Kill processes that run on specific port


Sometime we need to kill processes on specified port in order to run another new processes on the locked port / used port.

Some error regarding locaked port issues

Error: That port is already in use.

 

Failed to listen on localhost:8000 (reason: Address already in use)

 

Solution for errors above

sudo fuser -k 8000/tcp

sudo fuser -k 8000/tcp

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