title: Not able to connect to RabbitMq server using a particular user
body: <p>I tried to connect to a particular RabbitMq machine using following code using MassTransit</p>
  
  <pre><code>var bus = ServiceBusFactory.New(x =&gt;
        {
          x.UseRabbitMq();
          x.ReceiveFrom("rabbitmq://admin:admin@&lt;IP Address&gt;/somequeue");
  
          moreInitialization(x);
        });
  </code></pre>
  
  <p>I have create a user as admin in vhost "\" with administrator privileges.</p>
  
  <pre><code>cmd:&gt; rabbitmqctl list_permissions
  Listing permissions in vhost "/" ...
  admin   .*      .*      .*
  </code></pre>
  
  <p>I have removed the "guest" user. Even though I user the below code, I can see in rabbitmq log as below</p>
  
  <pre><code>=ERROR REPORT==== 21-Jun-2015::12:19:22 ===
  closing AMQP connection &lt;0.391.0&gt; (192.168.6.1:7000 -&gt; 192.168.6.131:5672):
  {handshake_error,starting,0,
                   {amqp_error,access_refused,
                               "PLAIN login refused: user 'guest' - invalid credentials",
                               'connection.start_ok'}}
  </code></pre>
  
  <p>At application side I am getting the below error</p>
  
  <pre><code>Exception:Thrown: "ACCESS_REFUSED - Login was refused using authentication mechanism PLAIN. For details see the broker logfile." (RabbitMQ.Client.Exceptions.AuthenticationFailureException)
  A RabbitMQ.Client.Exceptions.AuthenticationFailureException was thrown: "ACCESS_REFUSED - Login was refused using authentication mechanism PLAIN. For details see the broker logfile."
  </code></pre>
  
  <p>Do I need to change any configuration in rabbitmq.config file? I am using RabbitMq Server version 3.5.3</p>
  
  <p>Thanks for helping</p>