python manage.py runserver 127.0.0.1:8888
无法启动报错
Performing system checks...
System check identified no issues (0 silenced).
December 12, 2023 - 01:49:42
Django version 2.2, using settings 'Mysite.settings'
Starting development server at http://127.0.0.1:8888/
Quit the server with CONTROL-C.
Error: That port is already in use.
找到端口占用的进程号
lsof -i:8888
杀掉进程即可
kill -9 30213