Last Updated: February 25, 2016
·
1.996K
· gogromat

Ubuntu: Kill port process

To kill a nasty process that takes up port in Ubuntu type:

sudo kill $(sudo lsof -t -i:PORT)

where PORT is the port the * nasty process * is taking up.

ex.

sudo kill $(sudo lsof -t -i:3000)