# ES Cluster : NoNodeAvailableException\[None of the configured nodes are available

**URL:** <https://discuss.elastic.co/t/es-cluster-nonodeavailableexception-none-of-the-configured-nodes-are-available/106663>\
**Category:** Elasticsearch\
**Created:** [November 7, 2017, 9:56am UTC](https://discuss.elastic.co/t/es-cluster-nonodeavailableexception-none-of-the-configured-nodes-are-available/106663 "2017-11-07T09:56:19Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mahesh.maney](https://avatars.discourse-cdn.com/v4/letter/m/f9ae1b/32.png) [@mahesh.maney](https://discuss.elastic.co/u/mahesh.maney)\
**Post date:** [November 7, 2017, 9:56am UTC](https://discuss.elastic.co/t/es-cluster-nonodeavailableexception-none-of-the-configured-nodes-are-available/106663/1 "2017-11-07T09:56:20Z")

</div>

Hello All Problem Resolvers,

We have 3 nodes for elasticsearch 5.5.1. Lets say N1,N2 and N3. All three nodes have been made master node.  
Each of this node is running on single VM. Lets say V1, V2 and V3. So;

1. N1 (Elasticsearch 5.5.1) is running on (virtaul machine) V1.
2. N2 (Elasticsearch 5.5.1) is running on (virtaul machine) V2.
3. N3 (Elasticsearch 5.5.1) is running on (virtaul machine) V3.

# Below is the contents of the elasticsearch.yml file

```
network.host: 192.168.213.25
network.bind_host: '0.0.0.0'
transport.bind_host: 0.0.0.0
transport.host: localhost
transport.tcp.port: 9300
http.port: 9200
indices.query.bool.max_clause_count: 10240
bootstrap.system_call_filter: false
cluster.name: qa-cluster
node.name: esupgrade-1-ddqa
node.master: true
gateway.expected_nodes: 1
discovery.zen.minimum_master_nodes: 1
discovery.zen.ping_timeout: 30s
discovery.zen.ping.unicast.hosts: ["192.168.213.19","192.168.213.24","192.168.213.25"]
transport.publish_host: "_eth2:ipv4_"
network.publish_host: "_eth2:ipv4_"
action.auto_create_index: true
transport.tcp.compress: true
thread_pool.index.queue_size: 10000
thread_pool.search.size: 1000
thread_pool.search.queue_size: 10000
thread_pool.get.queue_size : 10000

## Add CORS Support
http.cors.enabled : true
http.cors.allow-origin: "/.*/"
http.cors.allow-methods : OPTIONS, HEAD, GET, POST, PUT, DELETE
http.cors.allow-headers : X-Requested-With,X-Auth-Token,Content-Type,Content-Length,Authorization
http.max_content_length : 500mb

```

=============================================================================

Now, the cluster is started and when we try to connect to the Elasticsearch from java client, we get the below exception  
NoNodeAvailableException[**None of the configured nodes are available** : [{#transport#-1}{qVvJFIi5QUSnf0T6cWi0\_g}{192.168.213.25}{192.168.213.25:9300}, {#transport#-2}{4vF9hGcUQoig0tXDIZ6UHA}{192.168.213.19}{192.168.213.19:9300}, {#transport#-3}{eM0M7jcwRjWc7iYPH2ncQw}{192.168.213.24}{192.168.213.24:9300}]]

Someone here, suggest me how to fix this issue.

Regards,  
Maney

---

<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 7, 2017, 10:22am UTC](https://discuss.elastic.co/t/es-cluster-nonodeavailableexception-none-of-the-configured-nodes-are-available/106663/2 "2017-11-07T10:22:41Z")

</div>

Why this?

```auto
network.host: 192.168.213.25
network.bind_host: '0.0.0.0'
transport.bind_host: 0.0.0.0
transport.host: localhost

```

Why not just this?

```auto
network.host: 192.168.213.25

```

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [December 5, 2017, 10:22am UTC](https://discuss.elastic.co/t/es-cluster-nonodeavailableexception-none-of-the-configured-nodes-are-available/106663/3 "2017-12-05T10:22:56Z")

</div>

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