Answers for "find kill port mac"

5

kill process running on port mac

sudo lsof -i :3000

kill -9 <PID>
Posted by: Guest on February-11-2021
0

how to kill a service based on port number on mac

lsof -P | grep ':PortNumber' | awk '{print $2}' | xargs kill -9
Posted by: Guest on February-24-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language