在elasticsearch的配置文件,添加如下配置

# xpack use config
cluster.initial_master_nodes: ["node-1"]
http.cors.allow-headers: Authorization,Content-Type
xpack.security.enabled: true
xpack.license.self_generated.type: basic
xpack.security.transport.ssl.enabled: true

  在访问head时,带上用户名和密码访问 http://127.0.0.1:9100/?auth_user=elastic&auth_password=123456

Elasticsearch 安装x-pack之后,无法连接head问题Elasticsearch 安装x-pack之后,无法连接head问题

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-11-09
  • 2021-07-23
  • 2022-01-04
  • 2021-11-22
  • 2021-09-27
猜你喜欢
  • 2021-12-07
  • 2018-09-28
  • 2021-08-04
  • 2022-12-23
  • 2021-11-26
  • 2021-06-16
  • 2021-06-10
相关资源
相似解决方案