Hi I'm trying to make queries using Java HighLevelRestClient to AWS ElasticSearch. Both are versions 6.0.1. As I try to connected I'm getting a:
org.apache.http.ConnectionClosedException: Connection closed
Is this something that AWS Elasticsearch does not support? This is my main piece of code:
RestHighLevelClient client = new RestHighLevelClient(
RestClient.builder(new HttpHost("localhost", 4430, "http")));