kill 8000 port code example
Example 1: mac error that port is already in use
sudo lsof -t -i tcp:8000 | xargs kill -9
Example 2: kill port django
Kill port django
Example 3: stop port in use 8000
kill -9 $(lsof -i TCP:8000 | grep LISTEN | awk '{print $2}')