ES5.0.0 Can't auto discover other node

I'd download ES5.0.0 to my server(192.168.0.1, 192.168.0.2)
and i changed config file。
server 1:
network.host: 192.168.0.1
http.port: 9200
cluster.name: cluster1
node.name: node1

server 2:
network.host: 192.168.0.2
http.port: 9200
cluster.name: cluster1
node.name: node2

But when i run bin/elasticsearch , they can't find each other...

You need to configure unicast list of nodes. See https://www.elastic.co/guide/en/elasticsearch/reference/5.0/important-settings.html#unicast.hosts

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