springboot + rabbitmq start error: java.net.SocketException: socket closed

The first integration springboot + rabbitmq, start the console error:

java.net.SocketException: socket closed
 
Caused by: com.rabbitmq.client.ShutdownSignalException: connection error; protocol method: #method<connection.close>(reply-code=530, reply-text=NOT_ALLOWED - access to vhost '/' refused for user 'hansin', class-id=10, method-id=40)

Check the account password port number, no problems, no error prompt permission to connection failure.

Open rabbitMq management of web pages

http://172.16.192.129:15672

 

Solution:

Double-click the user name given permission.

Restart, everything is normal.

Guess you like

Origin blog.csdn.net/caidingnu/article/details/90648569