I have spend a few hours trying to set up a 2 nodes cluster on Azure cloud, but it looks like ES on these two VMs cannot find each other.
Below are the thing I have done
- Set up a virtual network
- Create two vms in this network
- Set up ES on both vms
- Open ports 9200 and 9300 on Azure platform
- Open ports 9200 and 9300 on both Vms
Every time I tried localhost:9200/_cat/nodes, there is always 1 node. And also, publicIP:9200 doesn't work for me either. Can someone help me out? Thanks a lot.