cluster.initial_master_nodes: ["node-1"] #改成你启动 ./bin/elasticsearch 时出现的集群名
#设置这个外部才能ip访问
network.host: 192.***.***.*** #你自己的主机号
http.port: 9200
xpack.ml.enabled: false
http.cors.enabled: true
http.cors.allow-origin: "*"
cluster.initial_master_nodes: ["node-1"] #改成你启动 ./bin/elasticsearch 时出现的集群名
#设置这个外部才能ip访问
network.host: 192.***.***.*** #你自己的主机号
http.port: 9200
xpack.ml.enabled: false
http.cors.enabled: true
http.cors.allow-origin: "*"