在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
2023-12-23 18:42:09
network.bind_host: 0.0.0.0
http.port: 9200
cluster.initial_master_nodes: ["node-1","node-2"]
xpack.security.enabled: false