Connect Error with JAVA - NoNodeAvailableException[None of the configured nodes are available

Hi Everyone,
I have provision a Elastic Cloud for my programmers, they are using Native Elasticsearch binary protocal but found these errors

It is able to connect to it and find out its nodes below:
54.254.97.95:9343
54.251.33.223:9343

String host = "654d0090c71a24200264c9f0471388c4.ap-southeast-1.aws.found.io";
String clusterName = "654d0090c71a24200264c9f0471388c4";
int port = 9343;

NoNodeAvailableException[None of the configured nodes are available: [{#transport#-1}{bGig-OYeSlmwN6jVu287RQ}{654d0090c71a24200264c9f0471388c4.ap-southeast-1.aws.found.io}{54.254.97.95:9343}, {#transport#-2}{-5w7otFvTX-7H6qV4mdIhQ}{654d0090c71a24200264c9f0471388c4.ap-southeast-1.aws.found.io}{54.251.33.223:9343}]]

Please help!!

Thanks.

Tony Lam

Please format your code using </> icon as explained in this guide. It will make your post more readable.

Or use markdown style like:

```
CODE
```

You did not share your code so hard to say what is wrong. I guess a bad usage...

Here is some code to create a client:

HTH

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