Error: That port is already in use——Python Django
Posted GeoWin_CAU
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Error: That port is already in use——Python Django相关的知识,希望对你有一定的参考价值。
ubuntu系统下,运行一个django项目,即输入python manage.py runserver后,可能出现
Error: That port is already in use.的错误。
即端口号已经被占用,说明servr已经在运行了(也有可能在后台运行)
那么找到该进程,kill掉即可.
或者最简单的解决方法就是:
在终端输入
sudo fuser -k 8000/tcp
这样和端口8000相关的进程就都关了。
以上是关于Error: That port is already in use——Python Django的主要内容,如果未能解决你的问题,请参考以下文章
django启动server报错Error: That port is already in use.
Error: Another program is already listening on a port that one of our HTTP servers is configured to
supervisord 启动失败 Error: Another program is already listening on a port that one of our HTTP serve...
在我们启动容器的时候,会出现 Error response from daemon: Conflict. The container name "/tomcat" is alrea
configure: error: Cannot find libmysqlclient under /usr Note that the MySQL client library is not bu
iMPACT错误提醒 “A Xilinx Application has encountered an unexpected error.It is recommended that you save