# Cluster name not specified in java client and it is failing to communicate with cluster, no node available exceptio

**URL:** <https://discuss.elastic.co/t/cluster-name-not-specified-in-java-client-and-it-is-failing-to-communicate-with-cluster-no-node-available-exceptio/106868>\
**Category:** Elasticsearch\
**Created:** [November 8, 2017, 12:48pm UTC](https://discuss.elastic.co/t/cluster-name-not-specified-in-java-client-and-it-is-failing-to-communicate-with-cluster-no-node-available-exceptio/106868 "2017-11-08T12:48:22Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [November 8, 2017, 1:46pm UTC](https://discuss.elastic.co/t/cluster-name-not-specified-in-java-client-and-it-is-failing-to-communicate-with-cluster-no-node-available-exceptio/106868/2 "2017-11-08T13:46:26Z")

</div>

Please format your code using `</>` icon as explained in [this guide](https://discuss.elastic.co/t/about-the-elasticsearch-category/21). It will make your post more readable.

Or use markdown style like:

````
```
CODE
```

````

I edited your post.

What do you have in `searchConfig` object?  
What are elasticsearch server logs please?

---

_[View the full topic](https://discuss.elastic.co/t/cluster-name-not-specified-in-java-client-and-it-is-failing-to-communicate-with-cluster-no-node-available-exceptio/106868)._
