elastic版本:6.24
./elasticsearch
./elasticsearch -Ehttp.port=8200 -Epath.data=node1
配置:
cluster.name: my-es
network.host: 192.168.0.91
http.port: 9200
http.cors.enabled: true
http.cors.allow-origin: "*"
结果:
看了一下其他同学写的类似问题好像也没解决 我疏忽了哪里呢