Situation:
When starting rabbitmq-server service it failed and you view this error on the logs:
Solution:
Review your /etc/hosts file and then restart the service.
When starting rabbitmq-server service it failed and you view this error on the logs:
ERROR: epmd error for host test: address (cannot connect to host/port)
Solution:
Review your /etc/hosts file and then restart the service.