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.


