I am new to rabbitmq and trying to set up a cluster. However I am getting the following error. The cookie is same in both machine in the C:\Windows and C:\Users\<user in context>
directories
rabbitmqctl join_cluster rabbit@node1 Clustering node rabbit@node2 with rabbit@node1 ... Error: unable to connect to nodes [rabbit@node1]: nodedown
DIAGNOSTICS
attempted to contact: [rabbit@node1]
rabbit@node1: * connected to epmd (port 4369) on node1 * epmd reports node 'rabbit' running on port 25672 * TCP connection succeeded but Erlang distribution failed * suggestion: hostname mismatch? * suggestion: is the cookie set correctly? * suggestion: is the Erlang distribution using TLS? current node details: - node name: 'rabbitmq-cli-552@node1' - home dir: C:\Users\dataimports - cookie hash: AWMNITV6TcxGSxvEF6Gndw==
Any help is much appreciated.