#! Elasticsearch built-in security features are not enabled. Without authentication, your cluster could be accessible to anyone. See https://www.elastic.co/guide/en/elasticsearch/reference/7.15/security-minimal-setup.html to enable security
😈
打开es安装路径,打开config文件夹,编辑elasticsearch.yml,在里面添加
xpack.security.enabled: false
然后保存退出,重启es,问题解决。