设置远程访问Elasticsearch

在network的地方设置以下三个配置

network.bind_host: 0.0.0.0
http.port: 9200

在discovery的地方,配置

cluster.initial_master_nodes: ["node-1","node-2"]

附:

开启xpack方法

xpack.security.enabled: false

原文地址:https://www.cnblogs.com/fly-book/p/14119063.html