I\'m trying to set up a server with python from mac terminal.
I navigate to folder location an use:
python -m SimpleHTTPServer
Bu
Use
sudo lsof -i:5000
This will give you a list of processes using the port if any. Once the list of processes is given, use the id on the PID column to terminate the process use
kill 379 #use the provided PID