I installed RabbitMQ Server recently and everything went smoothly, until I opened the web management UI and found that the default guest / guest account could not log in.
After checking the RabbitMQ documentation, I found that starting with RabbitMQ 3.3.1, the built-in guest account is restricted to localhost for security reasons. That means you cannot use it directly from another IP address.
If you really want to allow remote login for the guest account, set loopback_users to an empty list in the RabbitMQ configuration file. For example, create /etc/rabbitmq/rabbitmq.config with the following content:
1 | [{rabbit, [{loopback_users, []}]}]. |
Save the file and restart rabbitmq-server. After that, the guest account can log in from anywhere.
That said, this is obviously insecure, so creating a dedicated administrator account is usually the better option.