设置远程访问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

posted @ 2020-12-11 10:31  fly_bk  阅读(470)  评论(0)    收藏  举报