[rabbitmq-discuss] error PossibleAuthenticationFailureException

Frank Gönninger frank.goenninger at consequor.de
Fri Dec 17 12:33:13 GMT 2010


Am 17.12.2010 um 12:52 schrieb Emile Joubert:

> Hi Ò¦»Ô,
> 
> On 17/12/10 01:35, Ò¦»Ô wrote:
>> When i used java client connect to a broker server, i got a error like this:
>> Exception in thread "main"
>> com.rabbitmq.client.PossibleAuthenticationFailureException: Possibly
>> caused by authentication failure
> 
> [...]
> 
>> the code
>> Connection conn = null;
>> conn = factory.newConnection();
>> factory.setHost("192.168.0.202"); //local ip address
>> Channel chan = conn.createChannel(); //error here
>> if i use setHost("localhost"), it's ok. someone can tell why?
> 
> Is it possible that 192.168.0.202 is the IP number of a non-local server 
> running a RabbitMQ broker with different credentials?


OP says 192.168.0.202 is the network IP address of the local host. This smells like a wrong IP address or insufficient privileges to connect to 192.168.0.202 or RabbitMQ is not listening on this address (but does so on 127.0.0.1 only).

Cheers
  Frank

--
  C o n s e q u o r   C o n s u l t i n g   A G
  Frank Goenninger

  E-Mail: frank.goenninger at consequor.de
  Phone: +49 711 781 181-10
  Fax:   +49 711 781 181-11

  Consequor Consulting AG
  Liebknechstr. 33
  D-70565 Stuttgart

  Vorstand: Frank Gönninger (Vors.), Martin Melcher
  Aufsichtsratsvorsitzender: Dipl.-Kfm. Matthias Filbinger
  Sitz der Gesellschaft: 70565 Stuttgart, Deutschland
  Registergericht Amtsgericht Stuttgart HRB 727446




More information about the rabbitmq-discuss mailing list