error the port is 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: port 8080 already in use
taskkill /F /pid 1088
Example 3: kill port django
Kill port django
sudo lsof -t -i tcp:8000 | xargs kill -9
taskkill /F /pid 1088
Kill port django