title: Cannot connect to redis://localhost:6379/0: Error 111 connecting to localhost:6379. Connection refused
body: <p>I've deployed a minimal django/celery/redis project to heroku, and I'm trying to test it in the python shell:</p>
  
  <pre><code> heroku run python
  
   &gt;&gt;&gt; import tasks
   &gt;&gt;&gt; tasks.add.delay(1, 2)
  </code></pre>
  
  <p>The problem is tasks.add.delay(1,2) doesn't produce any output, it just hangs there whereas in local it gave an Async message.</p>
  
  <p>Also when i try to see the task running in application logs with "heroku logs -t -p worker"</p>
  
  <p>it gives me this error:</p>
  
  <pre><code>   ERROR/MainProcess] consumer: Cannot connect to redis://localhost:6379/0: Error 111      
     connecting to localhost:6379. Connection refused..
  </code></pre>
  
  <p>PS. It works fine on local.</p>