首页 > 其他分享> > 解决:ACCESS_REFUSED - Login was refused using authentication mechanism PLAIN. For details see the brok
解决:ACCESS_REFUSED - Login was refused using authentication mechanism PLAIN. For details see the brok
作者:互联网
原因:rabbitmq从3.3.0开始禁止使用guest/guest权限通过除localhost外的访问 // 1、创建连接工程 ConnectionFactory factory = new ConnectionFactory(); factory.setHost("127.0.0.1"); factory.setVirtualHost("/"); 如果只是想本地运行的,可以先把factory.setHost的参数设置为本地ip:127.0.0.1就可以了
标签:127.0,guest,0.1,PLAIN,broker,factory,setHost,ConnectionFactory,logfile 来源: https://www.cnblogs.com/tszr/p/16419784.html