OS X and rabbitMQ: ERROR: epmd error for host xxx: address (cannot connect to host/port)

Julio picture Julio · Jul 17, 2014 · Viewed 19.8k times · Source

I just made to the latest OS X maverick update and I got suprised to see that rabbitMQ is no longueur working. I get the following error:

MacBook-Pro-de-Julio:~ julio$ rabbitmq-server
ERROR: epmd error for host MacBook-Pro-de-Julio: address (cannot connect to host/port)

I use the standalone version of rabbitMQ. I try to re-install it without any success. When I run hostname command I have the following result:

MacBook-Pro-de-Julio:~ julio$ hostname
MacBook-Pro-de-Julio.local

Do you know how to fix this issue?

EDIT 1:

By turning off the Wifi, I can run with success rabbitMQ. If I turn it on, I can't launch rabbitMQ.

EDIT 2:

Thanks to @old_sound answer, I fixed the issue by editing my /etc/hosts.

Answer

AgBorkowski picture AgBorkowski · Nov 27, 2014

ERROR: epmd error for host HostName: timeout (timed out)

sudo mcedit /etc/hosts

add line

127.0.0.1 HostName

resolve my problems (ubuntu)

Find the host name by running command echo $HOSTNAME