title: RabbitMq Connection to 127.0.0.1:5672 Failed
body: <p>I'm currently following a rabbitmq tutorial and running into an issue. No matter how close I follow the tutorial I keep getting this error when trying to run my send.py and receive.py:</p>
  
  <pre><code>pika.exceptions.ConnectionClosed: Connection to 127.0.0.1:5672 failed: [Errno 61] Connection refused
  </code></pre>
  
  <p>This is the send.py:</p>
  
  <pre><code>#!/usr/bin/env python
  import pika
  
  connection = pika.BlockingConnection(pika.ConnectionParameters(host='localhost'))
  channel = connection.channel()
  
  channel.queue_declare(queue='hello')
  
  channel.basic_publish(exchange='',
                        routing_key='hello',
                        body='Hello World!')
  print(" [x] Sent 'Hello World!'")
  connection.close()
  </code></pre>
  
  <p>This is the receive.py:</p>
  
  <pre><code>#!/usr/bin/env python
  import pika
  
  connection = pika.BlockingConnection(pika.ConnectionParameters(host='localhost'))
  channel = connection.channel()
  
  channel.queue_declare(queue='hello')
  
  def callback(ch, method, properties, body):
      print(" [x] Received %r" % body)
  
  channel.basic_consume(callback,
                        queue='hello',
                        no_ack=True)
  
  print(' [*] Waiting for messages. To exit press CTRL+C')
  channel.start_consuming()
  </code></pre>
  
  <p>I can't for the life of me figure out what I'm doing wrong. I've looked at other post on here that ask a similar question but still no dice.</p>