Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

kill process on port

lsof -i:3000           // Change 3000 to whatever your port is!
sudo kill 9 <PID>      // Change <PID> to the Pid number the above command returns 
Source by askubuntu.com #
 
PREVIOUS NEXT
Tagged: #kill #process #port
ADD COMMENT
Topic
Name
4+9 =