我在我的 AWS 服务器上运行 Elasticsearch ,我关注 this tutorial :
而且,当我在我的服务器上执行此操作时:
$ curl localhost:9200/_cluster/health?pretty
并返回正确的结果。
但是,当我使用亚马逊提供的完整 IP 提供商时,我收到错误消息:
This site can’t be reached
52.33.201.250 refused to connect.
另外,我的配置是:
我还需要做些什么来配置它?
最佳答案
你可以试试这个:
在您的 "/etc/elasticsearch/elasticsearch.yml"
根据您的需要设置您的公共(public)或私有(private)IP:network.host: your_ip
关于amazon-web-services - 无法访问 AWS 站点上的 Elasticsearch ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46552160/