Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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?

share|improve this question
    
Welcome to AskUbuntu! You may want to specify Ubuntu 12.04 or 12.10. –  Oyibo Oct 31 '12 at 8:52
    
What is process 4469? Do you have permission to kill it? (try sudo kill 4469). Does that process respond to the signal sent to it? (try sudo kill -9 4469, as signal 9 is required to be acted upon.) –  Huckle Oct 31 '12 at 19:25

1 Answer 1

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 
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.