Django Error: [WinError 10013] An attempt was made to access a socket in a way forbidden by its access permissions

emanlee發表於2024-05-03

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

相關文章