Search code examples
amazon-web-serviceselasticsearchamazon-ec2amazon-elasticsearch

Elastic search on AWS site can’t be reached


I have elastic search running on my AWS Server, I follow this tutorial: And, when I execute this on my server:

$ curl localhost:9200/_cluster/health?pretty

And returns the correct results.

But, when I use the complete IP provider by Amazon, I get the error:

This site can’t be reached

52.33.201.250 refused to connect.

Also, my configuration is: enter image description here

What other thing I need do to configure it?


Solution

  • You can try this:

    In your "/etc/elasticsearch/elasticsearch.yml"

    Set your public or private ip according to your needs: network.host: your_ip