且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

ElasticSearch安装错误-curl:(7)无法连接到localhost:9200;拒绝连接

更新时间:2021-12-13 22:41:22

您只需在弹性搜索配置文件中取消注释以下行:

You just have to uncomment these lines in your elastic-search configuration file:

cluster.name: your_cluster_name 
node.name: "Your Node Name"
network.bind_host: localhost
network.publish_host: 0.0.0.0
network.host: 0.0.0.0