epmd error for host myhost: address (cannot connect to host/port) on windows 10
Solution 1
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!
Solution 2
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.
Solution 3
For Windows Machine:
- Go in
C:\Users\<YourUserName>\AppData\Roaming\RabbitMQ
- Create a file
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.- Turn off you firewall & start the rabbitmq, it will work. After running it one time, even if you turn on the firewall, it will work.
This works for me in Windows 10 machine.
Solution 4
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
Solution 5
in your shell
$ export RABBITMQ_NODENAME=rabbit@localhost
$ /sbin/rabbitmq-server -detached
Antarjot
Hi, I am a Technology enthusiast. I like blogging, designing and I work as an android developer while I love to have hands-on on different technologies as well as of my interest. Looking forward to have a great developer, entrepreneur network all over the world. Sky is the limit.. Live in high spirits.
Updated on July 05, 2022Comments
-
Antarjot almost 2 years
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