Ubuntu – I can’t kill a port process

command linekillprocess

I'm doing in Ubuntu 12

alex@ubuntu:~/folder$ lsof -t -i:3000
4469
alex@ubuntu:~/folder$ kill 4469
alex@ubuntu:~/folder$ lsof -t -i:3000
4469

What did I do wrong?

Best Answer

kill -9 4469 

or

 fuser -k -n tcp 3000

3000 is the port number

or Use killport command :

wget https://raw.github.com/abdennour/miscs.sh/master/killport
killport 3000 
Related Question