美文网首页
python manage.py runserver 时出现E

python manage.py runserver 时出现E

作者: Ancestor楠 | 来源:发表于2020-03-06 21:48 被阅读0次

Error: [WinError 10013] 以一种访问权限不允许的方式做了一个访问套接字的尝试。

方案一:

1)cd \   ----切换到根目录

2)netstat -ano|findstr 8000   ----找端口被谁占用

3)tasklist |findstr xxxx   -----关闭,注意那个占用的端口号

4)taskkill /pid xxxx /F    ----查看停止情况,成功即可

5)记得cd原来项目运行的路径

方案二:

切换端口号:python manage.py runserver   你要切换的端口号

如下图:

相关文章

网友评论

      本文标题:python manage.py runserver 时出现E

      本文链接:https://www.haomeiwen.com/subject/foporhtx.html