Windows下elasticsearch插件head集群健康值:未连接

启动elasticsearch后,在命令行进入到head目录下使用grunt server命令启动head插件

发现head没有连接到elasticsearch

关闭elasticsearch,到config文件夹下

打开elasticsearch.yml文件,在文件的末尾添加

http.cors.enabled: true

http.cors.allow-origin: "*"

重启elasticsearch和head

再次访问http://localhost:9100/


猜你喜欢

转载自blog.csdn.net/ti__it/article/details/79802617
今日推荐