无法访问 AWS 站点上的弹性搜索

Elastic search on AWS site can’t be reached

我的 AWS 服务器上有弹性搜索 运行,我关注 this tutorial: 而且,当我在我的服务器上执行此操作时:

$ curl localhost:9200/_cluster/health?pretty

和returns正确的结果。

但是,当我使用亚马逊提供的完整 IP 提供商时,出现错误:

This site can’t be reached

52.33.201.250 refused to connect.

另外,我的配置是:

我还需要做些什么来配置它?

你可以试试这个:

在你的"/etc/elasticsearch/elasticsearch.yml"

根据需要设置你的public或私有ip:network.host: your_ip