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