NoNodeAvailableException[None of the configured nodesare available: [...]]

This is my first time trying to connect to elasticsearch (running on my local machine) through java code and I am getting the NoNodeAvailableException.

I have checked that the cluster_name and transport_addres set by the java code are same as in the Kibana console.

Problem solved !

X-Pack was blocking Java code to access the Nodes.

fix...
added this line in the elasticsearch.yml file:
xpack.security.enabled: false

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