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

后端 未结 5 697
不思量自难忘°
不思量自难忘° 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:20

    This should do the trick for you:

    kill -9 $(lsof -i:5000 -t) 2> /dev/null

    where 5000 is the port you want to kill

提交回复
热议问题