首先通过:
sudo netstat -tulpn | grep :8000 查看相应端口的ID。
然后直接用kill命令就OK了:
kill -9 1600
Linux停止后台运行Django项目
原文:https://www.cnblogs.com/flhw/p/14769476.html