django port 8000 already in use code example
Example 1: mac error that port is already in use
sudo lsof -t -i tcp:8000 | xargs kill -9
Example 2: django port 8000 already in use
sudo fuser -k 8000/tcp
sudo lsof -t -i tcp:8000 | xargs kill -9
sudo fuser -k 8000/tcp