Skip to content
Advertisement

Rabbitmq hello world connection only works on localhost (python)

I have this simple code taken from the rabbitmq tutorial (http://www.rabbitmq.com/tutorials/tutorial-one-python.html)

JavaScript

It works but if I change localhost with the ip of my computer from my own computer or a computer in the same network:

JavaScript

I get this error:


JavaScript

I have no idea why, should I change something in the connection?

Advertisement

Answer

It’s a user grant problem .

You are using the default user “guest “.

Please read this: Can’t access RabbitMQ web management interface after fresh install

Advertisement