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

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

    May be not directly related to your question but I was facing same error and it turn out that on my system redis-server package was not installed.

    Problem was resolved with,

    Ubuntu: sudo apt-get install redis-server

    Cent OS: sudo yum install redis

提交回复
热议问题