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
for me, I noticed that the port number was wrong, so I simply fixed it.
app = Celery("tasks", broker="redis://localhost:6379")