Django Error: [WinError 10013] An attempt was made to access a socket in a way forbidden by its access permissions
D:\06softw-dev-202306\manage.py runserver
Watching for file changes with StatReloader
Performing system checks...
System check identified no issues (0 silenced).
May 03, 2024 - 10:02:12
Django version 3.2.18, using settings 'MPDB.settings'
Starting development server at http://127.0.0.1:8000/
Quit the server with CTRL-BREAK.
Error: [WinError 10013] An attempt was made to access a socket in a way forbidden by its access permissions
Process finished with exit code 1
原因: 端口号已经被占用了。换个端口 manage.py runserver 127.0.0.1:8002。