Cannot Create A Cluster in Vmware ElasticSearch 5.6.5

Hello,
Im trying to Create a Cluster between some virtual Machines inside Vmware. Elasticsaerch is running on both machines and i have changes the config files as but still no success. here are my config files:
GES1
cluster.name: G
node.name: GES1
network.host: 10.0.1.11
http.port: 9200
discovery.zen.ping.unicast.hosts: ["10.0.1.12", "10.0.1.11"]
GES2
cluster.name: G
node.name: GES2
network.host: 10.0.1.12
http.port: 9200
discovery.zen.ping.unicast.hosts: ["10.0.1.11", "10.0.1.12"]
i checked the logs files and they can't discover each other
I also disables firewall on both machines
P.S Both machines can ping each other

Could you share the logs? Nothing looks wrong.

Make sure port 9300 is opened, like try to telnet on port 9300 from one machine to another.

[root@localhost elasticsearch]# telnet 10.0.1.12 9300
Trying 10.0.1.12...
telnet: connect to address 10.0.1.12: No route to host
[root@localhost elasticsearch]#

So you need to fix that.

This is outside the scope of elasticsearch.
But I believe that your VMs must expose public IPs somewhat. And that you should use those.

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