# Elastic search cluster is down

**URL:** <https://discuss.elastic.co/t/elastic-search-cluster-is-down/105937>\
**Category:** Elasticsearch\
**Created:** [October 31, 2017, 5:52pm UTC](https://discuss.elastic.co/t/elastic-search-cluster-is-down/105937 "2017-10-31T17:52:42Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mende81](https://avatars.discourse-cdn.com/v4/letter/m/ce7236/32.png) [@mende81](https://discuss.elastic.co/u/mende81)\
**Post date:** [October 31, 2017, 5:52pm UTC](https://discuss.elastic.co/t/elastic-search-cluster-is-down/105937/1 "2017-10-31T17:52:42Z")

</div>

Hi Guys,  
I have installed elasticseach and kibana fine on AWS. I can access Kibana from remote server fine.  
However when making API calls using nodejs i get the following error:  
Request error: connect ECONNREFUSED [ip adrress]:9200  
I use the "var elasticsearch = require('elasticsearch'); " to ping the server:  
client.ping({  
requestTimeout: 30000,  
}, function (error) {  
if (error) {  
console.error('elasticsearch cluster is down!');  
} else {  
console.log('All is well');  
}  
});  
Kibana config file is set to host.server" 0.0.0.0  
and config.yml from elastic is set to network.host : 0.0.0.0  
I have also tried network.host: _ec2_

Thanks

---

<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:** [November 28, 2017, 5:53pm UTC](https://discuss.elastic.co/t/elastic-search-cluster-is-down/105937/2 "2017-11-28T17:53:23Z")

</div>

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