title: How to connect MassTransit with RabbitMq on CloudAMQP
body: <p>I have problem to connect MassTransit with RabbitMq on CloudAMQP. Below is my code</p>
  
  <pre><code>var bus = Bus.Factory.CreateUsingRabbitMq(otions =&gt; {
      var host = otions.Host(new Uri("rabbitmq://llama-01.rmq.cloudamqp.com"),
      h =&gt; { h.Username("my_username"); h.Password("my_password"); });
      otions.ReceiveEndpoint(host, "recvqueue", ep =&gt; {
          ep.Handler&lt;Communicate&gt;(Handle);
      });
  });
  
  bus.Start();
  </code></pre>
  
  <p><code>h.Password</code> and <code>h.Username</code> are correct. 
  While I try to start the bus I get following error:</p>
  
  <blockquote>
    <p>RabbitMQ Connect Failed: Broker unreachable:
    my_username@llama-01.rmq.cloudamqp.com:5672/</p>
  </blockquote>
  
  <p>I suspect that the problem is in URI address but I can't find out the correct one.</p>