I have 3 nodes in my ElasticSearch cluster. eg. 10.10.0.1, 10.10.0.2, 10.10.0.3
Now I'm trying to connect to the cluster using the Jest Client API and provide the IP (10.10.0.1) of one of the nodes above. Now, if the Node parameter (10.10.0.1) does not work, does this mean that I could not access the cluster?
How to deal with such a problem when we have several nodes and we try to connect to the cluster from the code using the same IP address?
or
Should I go and create another connection giving a different IP address? I think this is a very rude way to do this, because if we have 100 nodes, in this case we will try to connect to 100 nodes one by one.
source
share