elasticsearch 7.1 401 Unauthorized

1.执行curl -XGET 'localhost:9200/_cat/indices?v&pretty'  报401

2.修改配置xpack.security.enabled: false - true

3.就可以了

posted @ 2019-09-04 18:07  littlevigra  阅读(5784)  评论(0编辑  收藏  举报