Spring AMQP + RabbitMQ 3.3.5 ACCESS_REFUSED - Login was refused using authentication mechanism PLAIN

后端 未结 12 2030
南笙
南笙 2020-12-01 00:43

I am getting below exception

org.springframework.amqp.AmqpAuthenticationException: com.rabbitmq.client.AuthenticationFailureException: ACCESS_REFUSED

12条回答
  •  被撕碎了的回忆
    2020-12-01 01:19

    To allow guest access remotely, write this

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

    to here

    c:\Users\[your user name]\AppData\Roaming\RabbitMQ\rabbitmq.config
    

    then restart the rabbitmq windows service (Source https://www.rabbitmq.com/access-control.html)

提交回复
热议问题