rabbitmqctl Error: unable to connect to node rabbit@myserver nodedown

后端 未结 4 1941
醉话见心
醉话见心 2020-12-30 03:13

I am running RabbitMQ v3.3.5 with Erlang OTP 17.1 on Windows 2008 R2. My Dev and QA environments are stand-alone. My staging and production environments are clustered.

4条回答
  •  余生分开走
    2020-12-30 04:08

    I had a similar problem on my linux box and am posting the answer here, because rabbitmq on windows may handle things similarly.

    My post and solution: rabbtimqadmin - Could not connect: [Errno -2] Name or service not known

    The core issue was changing the servername after rabbitmq was configured. When installed, rabbitmq references the servers name, making it part of its configuration. I can see this being a similar issue on windows.

    In short, you can change server's name back to the name it was when you first installed rabbitmq or you can add a rabbitmq-env.conf file, I'm not sure where it would go in windows, but the following gives details for linux: https://www.rabbitmq.com/man/rabbitmq-env.conf.5.man.html

    Note that on linux the name of the server was CaSe SENiTivE! So you may or may not have a similar issue with windows.

    Hope this helps and good luck!

提交回复
热议问题