Error 111 connecting to localhost:6379. Connection refused. Django Heroku

后端 未结 12 1193
感动是毒
感动是毒 2020-12-28 12:33

I am able to run redis locally and everything works.

However when I deploy to heroku I get this error:

Error 111 connecting to localhost:6379. Conn         


        
12条回答
  •  不知归路
    2020-12-28 13:11

    for me, I noticed that the port number was wrong, so I simply fixed it.

        app = Celery("tasks", broker="redis://localhost:6379")
    

提交回复
热议问题