I'm having issues connecting to a local version of elasticsearch. I'm doing the following
val uri = ElasticsearchClientUri("elasticsearch://127.0.0.1:9300")
val client = ElasticClient.remote(uri)
lient execute { search in "_all" query "test" }
But get a
org.elasticsearch.client.transport.NoNodeAvailableException: None of the configured nodes are available: []
exception. It doesn't matter if I go between 9200 / or 9300. ES is up and running correctly as far as I can see. Any pointers appreciated.
There are some possible reasons for this: