修改elasticsearch安装目录中 config/elasticsearch.yml
http.cors.enabled: true
http.cors.allow-origin: “*”
修改elasticsearch-head下Gruntfile.js
connect: {
server: {
options: {
hostname: ‘0.0.0.0’,
port: 9100,
base: ‘.’,
keepalive: true
}
}
}
elasticsearch-head中cluster health: not connected

注意:如果是绑定ip后,在页面的连接处写ip地址。默认是localhost,可能导致连接不上。

相关文章:

  • 2022-12-23
  • 2022-01-06
  • 2021-12-11
  • 2022-12-23
  • 2021-08-16
  • 2021-06-21
  • 2021-12-30
猜你喜欢
  • 2021-11-23
  • 2021-09-05
  • 2022-12-23
  • 2021-07-31
  • 2022-02-05
  • 2021-05-20
  • 2021-08-19
相关资源
相似解决方案