Answers for "ubuntu kill process by port"

34

kill port ubuntu

sudo kill -9 `sudo lsof -t -i:9001`
Posted by: Guest on May-03-2020
18

kill process on port

#To list any process listening to the port 8080:
lsof -i:8080

#To kill any process listening to the port 8080:
kill $(lsof -t -i:8080)

#or more violently:
kill -9 $(lsof -t -i:8080)
Posted by: Guest on April-21-2020
7

kill port ubuntu

sudo kill -9 `sudo lsof -t -i:3002`
Posted by: Guest on May-16-2020
15

ubuntu stop process on port

sudo kill -9 `sudo lsof -t -i:{PORT_NUMBER}`
Posted by: Guest on March-30-2020
3

kill port ubuntu

fuser -n tcp -k 4000
Posted by: Guest on July-20-2021
0

how to kill port in ubuntu

sudo lsof -t -i:9001
Posted by: Guest on October-01-2020

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language