# Elastic search is failed for correct username and password

**URL:** <https://discuss.elastic.co/t/elastic-search-is-failed-for-correct-username-and-password/96668>\
**Category:** Elasticsearch\
**Created:** [August 10, 2017, 8:32pm UTC](https://discuss.elastic.co/t/elastic-search-is-failed-for-correct-username-and-password/96668 "2017-08-10T20:32:55Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![woodson](https://avatars.discourse-cdn.com/v4/letter/w/b5a626/32.png) [@woodson](https://discuss.elastic.co/u/woodson)\
**Post date:** [August 10, 2017, 8:32pm UTC](https://discuss.elastic.co/t/elastic-search-is-failed-for-correct-username-and-password/96668/1 "2017-08-10T20:32:55Z")

</div>

Hi All,

I am new to elastic search. installed elastic search V5.5.1 as service.

While accessing localhost:9200 its asking username and password. i gave correct credential and still its failed.

i Know most of people faced same issue . any help is appreciated.

---

<div class="post-metadata">

**Author:** ![woodson](https://avatars.discourse-cdn.com/v4/letter/w/b5a626/32.png) [@woodson](https://discuss.elastic.co/u/woodson)\
**Post date:** [August 10, 2017, 8:50pm UTC](https://discuss.elastic.co/t/elastic-search-is-failed-for-correct-username-and-password/96668/2 "2017-08-10T20:50:42Z")

</div>

Thanks all

disable auth using below mentioned comment.  
xpack.security.enabled: false

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [September 7, 2017, 8:51pm UTC](https://discuss.elastic.co/t/elastic-search-is-failed-for-correct-username-and-password/96668/3 "2017-09-07T20:51:02Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
