discovery.seed_hosts, discovery.seed_providers, cluster.initial_master_nodes] must be configured

阅读 138

2022-10-29


the default discovery settings are unsuitable for production use; at least one of [discovery.seed_hosts, discovery.seed_providers, cluster.initial_master_nodes] must be configured

设置elasticsearch 局域网访问后,无法启动提示如上错误;

discovery.seed_hosts, discovery.seed_providers, cluster.initial_master_nodes 至少配置一个

network.host: 0.0.0.0
http.port: 9200
node.name: node-1
#discovery.seed_hosts:["node-1"]
cluster.initial_master_nodes: ["node-1"]

http.cors.enabled: true
http.cors.allow-origin: "*" 
 

后正常启动。

discovery.seed_hosts, discovery.seed_providers, cluster.initial_master_nodes] must be configured_elasticsearch

 

精彩评论(0)

0 0 举报