how to kill port 8000 code example
Example 1: django kill port 8000
sudo fuser -k 8000/tcp
Example 2: stop port in use 8000
kill -9 $(lsof -i TCP:8000 | grep LISTEN | awk '{print $2}')
sudo fuser -k 8000/tcp
kill -9 $(lsof -i TCP:8000 | grep LISTEN | awk '{print $2}')