Caused by: com.rabbitmq.client.AuthenticationFailureException: ACCESS_REFUSED - Login was refused using authentication mechanism PLAIN. For details se
程序员文章站
2022-10-25 08:51:02
环境:centos 7+ 1、查看用户是否存在 进入安装目录使用./sbin/rabbitmqctl list_users查看是否存在用户 比如:./usr/local/rabbitmq/rabbitmq_server-3.7.15/sbin/rabbitmqctl list_users 2、查看是 ......
环境:centos 7+
1、查看用户是否存在
进入安装目录使用./sbin/rabbitmqctl list_users查看是否存在用户
比如:./usr/local/rabbitmq/rabbitmq_server-3.7.15/sbin/rabbitmqctl list_users
2、查看是否允许非localhost登陆(一般报错都是因为这个原因)
①进入安装目录使用./sbin/rabbitmq-plugins enable rabbitmq_management启动web管理页面
比如:./usr/local/rabbitmq/rabbitmq_server-3.7.15/sbin/rabbitmq-plugins enable rabbitmq_management
②浏览器输入ip:15672进行访问
如果登录遇到问题:user can only log in via localhost。
①./usr/local/rabbitmq/rabbitmq_server-3.7.15/ebin/rabbit.app
②
将:{loopback_users, [<<”guest”>>]},
改为:{loopback_users, []},
原因:rabbitmq从3.3.0开始禁止使用guest/guest权限通过除localhost外的访问
3、还没想好。。。
推荐阅读
-
Caused by: com.rabbitmq.client.AuthenticationFailureException: ACCESS_REFUSED - Login was refused using authentication mechanism PLAIN. For details se
-
Caused by: com.rabbitmq.client.AuthenticationFailureException: ACCESS_REFUSED - Login was refused using authentication mechanism PLAIN. For details se