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.
curl -XGET '52.x.x.x:9200/_cat/indices?v&pretty' also fetches me connection refused.
Things I have tried: updating the network host in elasticsearch.yaml to 0.0.0.0
elasticsearchis listening on port 9200. - heemayl