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

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

发现head没有连接到elasticsearch

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

关闭elasticsearch,到config文件夹下

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

http.cors.enabled: true

http.cors.allow-origin: "*"

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

重启elasticsearch和head

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

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

相关文章:

  • 2021-11-26
  • 2021-07-31
  • 2021-06-18
  • 2021-11-22
  • 2022-12-23
  • 2021-05-25
猜你喜欢
  • 2022-12-23
  • 2022-03-04
  • 2021-04-11
  • 2021-05-21
  • 2021-10-18
  • 2021-11-22
  • 2021-05-18
相关资源
相似解决方案