RabbitMQ:address (cannot connect to host/port) [How to Solve]


[root@taishan-atlas init.d]# service rabbitmq-server start
Failed to get D-Bus connection: Operation not permitted
ERROR: epmd error for host taishan-atlas: address (cannot connect to host/port)


Modify/etc/hosts and add         taishan-atlas       localhost       taishan-atlas   taishan-atlas

Note: here Taishan Atlas Taishan atlas corresponds to the IP address in front of the host name. One is the loopback IP address and the other is the real IP address of the device. If the real IP address is not configured correctly, a similar problem will occur: error: epmd error for host Taishan Atlas: address (cannot connect to host/port)

Note: the reason why you need to manually add a local domain name is that you have modified the local machine’s host name, so you need to modify it accordingly. After the system is installed, a host name will be generated by default

Read More: