简体   繁体   English

无法在AWS实例中运行弹性搜索

[英]Elastic search is not accessible running in AWS instance

I'm running elastic search in AWS t2.micro instance in port 9200 and it has a security-group launch-wizard-7 and that security group has all inbound traffic in all ports from anywhere. 我在端口9200的AWS t2.micro实例中运行弹性搜索,它具有安全组launch-wizard-7并且该安全组在任何位置的所有端口中均具有所有入站流量。 but still i'm not able to access it with public IPv4 or Public DNS. 但仍然无法使用公共IPv4或公共DNS访问它。

Hi you need to configure your elasticsearch to use your public IP by default uses the loopback address, this could be done setting the property network.host in the elasticsearch config file for more details see 嗨,您需要将您的elasticsearch配置为默认使用您的公共IP,使用回送地址,这可以通过在elasticsearch配置文件中设置属性network.host来完成,请参见更多信息。

https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-network.html https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-network.html

I hope this helps 我希望这有帮助

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM