Reputation: 326
I am trying to install rabbitmq. The installation of both erlang i.e OTP 18.1 file was done successfulyl and also rabbitmq installation completed successfully. But when I try to connect rabbitmq, I get the following error:
C:\Program Files (x86)\RabbitMQ Server\rabbitmq_server-3.5.6\sbin>rabbitmq-plugins.bat enable rabbitmq_management
Plugin configuration unchanged.
Applying plugin configuration to rabbit@INLN50899724A... failed.
* Could not contact node rabbit@INLN50899724A.
Changes will take effect at broker restart.
* Options: --online - fail if broker cannot be contacted.
--offline - do not try to contact broker.
C:\Program Files (x86)\RabbitMQ Server\rabbitmq_server-3.5.6\sbin>rabbitmq-server restart
ERROR: epmd error for host INLN50899724A: address (cannot connect to host/port)
Click below to see the image containing error Error Empd Rabbitmq
Upvotes: 24
Views: 39435
Reputation: 11
For using rabbit mq on windows 10 for similar error I did below
Also, I had changed the host to point to my computer name in c:\Windows\System32\Drivers\etc 127.0.0.1 yourhostnamehere
Upvotes: 0
Reputation: 1671
open C:\Program Files\RabbitMQ Server\rabbitmq_server-3.7.15\sbin\rabbitmq-server.bat
Add the below command as the first line in
set RABBITMQ_NODENAME=rabbit@localhost
refer attached image
Upvotes: 14
Reputation: 41
in your shell
$ export RABBITMQ_NODENAME=rabbit@localhost
$ /sbin/rabbitmq-server -detached
Upvotes: 4
Reputation: 1
Or, edits your hosts file so that INLN50899724A points to 127.0.0.1
Upvotes: 0
Reputation: 646
Remove the RabbitMQ service. Uninstall RabbitMQ. Kill the epmd.exe process. Delete your c:\users\\AppData\Roaming\RabbitMQ Directory.
Go to Control Panels -> System -> Advanced -> Environment Variables
Add a variable named RABBITMQ_NODENAME
and set it to rabbit@localhost
Reinstall RabbitMQ.
Navigate to the RabbitMQ sbin directory (or run the command from the start menu) and run rabbitmqctl status
.
You should no longer see the (cannot connect to host/port) error.
And yes, this will fix your Cisco AnyConnect VPN related installation issues.
Upvotes: 27
Reputation: 161
For Windows Machine:
C:\Users\<YourUserName>\AppData\Roaming\RabbitMQ
rabbitmq-env.conf
Add the following:
CONFIG_FILE=C:\Users\<YourUserName>\AppData\Roaming\RabbitMQ\rabbitmq
NODE_IP_ADDRESS=127.0.0.1
NODENAME=rabbit@localhost
The above is my env-config, for this particular issue setting
the nodename
will be sufficient.
This works for me in Windows 10 machine.
Upvotes: 13
Reputation: 283
I may be replying really late, but still I'm facing this issue. So it may help somebody event while installing rabbitmq version 3.6.5. To change the node name, open "rabbitmq-env.bat" under "installation dir\sbin" and change RABBITMQ_NODENAME to "rabbit@localhost" (line number 90 in rabbitmq 3.6.5). But make sure you remove the windows service, do change the nodename, install service and start it. This worked for me. No other options worked for me which were marked as right answer in stackoverflow!
Upvotes: 24
Reputation: 359
change rabbit@INLN50899724A to rabbit@localhost and try again.
Upvotes: 1