Gunicorn Connection in Use: ('0.0.0.0', 5000)

后端 未结 5 805
不思量自难忘°
不思量自难忘° 2021-02-07 10:33

I installed redis this afternoon and it caused a few errors, so I uninstalled it but this error is persisting when I launch the app with foreman start. Any ideas on

5条回答
  •  没有蜡笔的小新
    2021-02-07 11:32

    After some searching on the web, it looks like the following command is the best to use. This kills all of the processes running on port 5000 and appeared to work for me:

    kill `lsof -i :5000`
    

    Source (although a bit more shady than I prefer)

提交回复
热议问题