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

后端 未结 12 1180
感动是毒
感动是毒 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

    The solution is sudo apt-get install redis-server. Don't forget to start your service by sudo service redis-server start and you can use the command sudo service redis-server {start|stop|restart|force-reload|status} for reference

提交回复
热议问题