RestHighLevelClient client = new RestHighLevelClient(RestClient
.builder(new HttpHost("ip", 9200), new HttpHost("ip", 9201)));

This code running properly when I connect it from my local machine to elasticsearch instance running on azure cloud. But it is not working when i create it as a azure function. Any reason? Or any configuration required?

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