Friday, May 3, 2024
26
rated 0 times [  26] [ 0]  / answers: 1 / hits: 77451  / 2 Years ago, sun, october 16, 2022, 5:30:01

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?


More From » command-line

 Answers
0
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

[#34645] Monday, October 17, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
aveerakfas

Total Points: 106
Total Questions: 148
Total Answers: 129

Location: Monaco
Member since Sun, Jan 1, 2023
1 Year ago
;