Form cluster using multiple nodes from different machine

I am new to elastic-search and trying to create a cluster using nodes present in multiple different server. Node 1 gets started but in node 2 i get error as:not enough master nodes discovered. I read many blogs on same but couldn't find the solution.

Node1(elasticsearch.yml): hits "node1"
node.master: true true
http.port : 9210
transport.tcp.port : 9300-9400 [""]

Node 2: hits "node2"
node.master: false true
http.port : 9211
transport.tcp.port : 9300-9400 [""]

Whats wrong in the configuration ?

Thanks in advance!!!

I believe the issue is that you used the http port instead of the transport port in on node2. Passing just [""] should work.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.