MrainW's Home

All things come to those who wait!

0%

Mac kill process on certain port

Look through certain port

1
2
3
4
5
6
7
lsof -i :port

or

lsof -i tcp:port

//replace the port with the number of port(eg:3000)

Kill the pid

1
2
3
4
kill -9 PID


//replace the PID with the number of PID(get the value from last step)

Welcome to my other publishing channels