marcusshepp
2/26/2016 - 4:23 PM

how to kill a port on mac os x terminal

how to kill a port on mac os x terminal

lsof -i tcp:8000 # or what ever port # you need to search for
kill -9 <PID> # replace <PID> with the process PID you want to kill