gpt4 book ai didi

amazon-web-services - 无法访问 AWS 站点上的 Elasticsearch

转载 作者:行者123 更新时间:2023-12-02 22:29:39 25 4
gpt4 key购买 nike

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

$ curl localhost:9200/_cluster/health?pretty

并返回正确的结果。

但是,当我使用亚马逊提供的完整 IP 提供商时,我收到错误消息:

This site can’t be reached

52.33.201.250 refused to connect.



另外,我的配置是: enter image description here

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

最佳答案

你可以试试这个:

在您的 "/etc/elasticsearch/elasticsearch.yml"
根据您的需要设置您的公共(public)或私有(private)IP:network.host: your_ip

关于amazon-web-services - 无法访问 AWS 站点上的 Elasticsearch ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46552160/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com