title: RabbitMQ: Connection Refused
body: <p>I am trying to run the basic ruby tutorial after installing it through both:</p>
  
  <pre><code>gem install bunny --version "&gt;= 2.5.1"
  </code></pre>
  
  <p>and </p>
  
  <pre><code>brew install rabbitmq
  </code></pre>
  
  <p>then running the sender.rb file.</p>
  
  <p>Then I get this error:</p>
  
  <pre><code>W, [2016-11-16T19:17:28.891581 #96531]  WARN -- #&lt;Bunny::Session:0x7ff56e055120 guest@127.0.0.1:5672, vhost=/, addresses=[127.0.0.1:5672]&gt;: Could not establish TCP connection to 127.0.0.1:5672: Connection refused - connect(2) for 127.0.0.1:5672
  /Users/Zach/.rvm/gems/ruby-2.3.1/gems/bunny-2.6.1/lib/bunny/session.rb:322:in `rescue in start': Could not establish TCP connection to any of the configured hosts (Bunny::TCPConnectionFailedForAllHosts)
      from /Users/Zach/.rvm/gems/ruby-2.3.1/gems/bunny-2.6.1/lib/bunny/session.rb:288:in `start'
      from sender.rb:8:in `&lt;main&gt;'
  </code></pre>
  
  <p>Any help? Thanks!</p>