title: Django Celery - Cannot connect to amqp://guest@127.0.0.8000:5672//
body: <p>I'm trying to set up Django-Celery. I'm going through the tutorial </p>
  
  <p><a href="http://docs.celeryproject.org/en/latest/django/first-steps-with-django.html">http://docs.celeryproject.org/en/latest/django/first-steps-with-django.html</a></p>
  
  <p>when I run 
      $ python manage.py celery worker --loglevel=info</p>
  
  <p>I get </p>
  
  <pre><code>[Tasks]
  
  
  /Users/msmith/Documents/dj/venv/lib/python2.7/site-packages/djcelery/loaders.py:133:     UserWarning: Using settings.DEBUG leads to a memory leak, never use this setting in     production environments!
  warnings.warn('Using settings.DEBUG leads to a memory leak, never '
  
  [2013-08-08 11:15:25,368: WARNING/MainProcess] /Users/msmith/Documents/dj/venv/lib/python2.7/site-packages/djcelery/loaders.py:133: UserWarning: Using settings.DEBUG leads to a memory leak, never use this setting in production environments!
  warnings.warn('Using settings.DEBUG leads to a memory leak, never '
  
  [2013-08-08 11:15:25,369: WARNING/MainProcess] celery@sfo-mpmgr ready.
  [2013-08-08 11:15:25,382: ERROR/MainProcess] consumer: Cannot connect to     amqp://guest@127.0.0.1:5672/celeryvhost: [Errno 61] Connection refused.
  Trying again in 2.00 seconds...
  </code></pre>
  
  <p>has anyone encountered this issue before?</p>
  
  <p>settings.py</p>
  
  <pre><code># Django settings for summertime project.
  import djcelery
  djcelery.setup_loader()
  
  BROKER_URL = 'amqp://guest:guest@localhost:5672/'
  
  ...
  
  INSTALLED_APPS = {
      ...
      'djcelery',
      'celerytest'
  }
  </code></pre>
  
  <p>wsgi.py</p>
  
  <pre><code>import djcelery
  djcelery.setup_loader()
  </code></pre>