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
Not sure if it work in all the cases. If this error occurs when using redis in docker, try to do the following,it may help:
try to run the container again