error message when install AMQP through docker:
ConnectionException: Socket error: could not connect to host
If it is installed by docker, map port 5672 out
docker run -d --hostname my-rabbit --name some-rabbit -p 8080:15672 -p 55672:5672 rabbitmq:3-management
This way, no error will be reported.