S
S
Stalder2017-06-07 14:33:26
Python
Stalder, 2017-06-07 14:33:26

RabbitMQ how to communicate with another machine?

I'm starting to understand RabbitMQ, the first steps are the official tutorial. There, work is done from localhost, but it is assured that if you substitute the IP of another machine, then everything will also work. There are two devices, on one send, on the other receive. Both machines have the internal address of one of them, but when trying to connect, a
ConnectionResetError: [WinError 10054] The remote host forcibly terminated the existing connection
pika.exceptions.ProbableAuthenticationError
What could be the problem?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Gornostaev, 2017-06-07
@Stalder

By default, RabbitMQ has only one user - guest, which is allowed to do everything, but only when making requests from localhost. An easy but unsafe way is to remove guest from loopback_users . A more reasonable option is to have a user with a password and explicitly assigned rights.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question