无法获得关于此解决方案的任何答案,其中大多数与最大打开文件限制有关。但是,当我
discovery.seed_hosts在elasticsearch.yml文件中启用config属性时,此问题已解决:
# ---------------------------------- Network -----------------------------------## Set the bind address to a specific IP (IPv4 or IPv6):#network.host: 0.0.0.0## Set a custom port for HTTP:##http.port: 9200## For more information, consult the network module documentation.## --------------------------------- Discovery ----------------------------------## Pass an initial list of hosts to perform discovery when this node is started:# The default list of hosts is ["127.0.0.1", "[::1]"]#discovery.seed_hosts: ["127.0.0.1"]
启用上述属性后,它在非环回主机上也可以正常工作。



