0
点赞
收藏
分享

微信扫一扫

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


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 条评论