How to connect to remote ElasticSearch server installed on Ubuntu 16?
<p>I have elasticsearch (not installed as service) on AWS ubuntu 16. I am trying to connect it to my node application but I am getting connection refused.</p>

<p><strong>curl -XGET '52.x.x.x:9200/_cat/indices?v&amp;pretty</strong>' also fetches me connection refused.</p>

<p>Things I have tried:
updating the network host in elasticsearch.yaml to 0.0.0.0</p>