Django 运行项目时 An attempt was made to access a socket in a way forbidden by its access permissions

WinError 10013 An attempt was made to access a socket in a way forbidden by its access permissions

Problem Description:

[External link image transfer failed. The source site may have an anti-leech link mechanism. It is recommended to save the image and upload it directly (img-7gbMKfm4-1589253695563)(C:\Users\hq0749a\Desktop\Problem Picture Collection\389098de5b0946001ca9912d6871f6f.png)]

problem causes:

The expected port is already occupied

problem solved:

Replacement port

Or refer to the link below to close the process that is using the port

The link closes the process that is using the port

Reference link

Guess you like

Origin blog.csdn.net/weixin_45609519/article/details/106072378