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
Solution:
Double-click the user name given permission.
Restart, everything is normal.