Think before you speak, read before you think.

rabbitmq3.3.1允许guest远程访问

rabbitmq 默认允许 guest 本地访问
为了方便需要允许远程访问

把 /usr/share/doc/rabbitmq-server-3.3.1/rabbitmq.config.example 复制一份到 /etc/rabbitmq/rabbitmq.config,在 rabbit 段中,按如下格式

[{rabbit, [{loopback_users, []}]}]

参考:

https://www.rabbitmq.com/access-control.html


Comments

Leave a Reply

Your email address will not be published. Required fields are marked *