# Elasticsearch is asking for authentication after running .bat file

**URL:** <https://discuss.elastic.co/t/elasticsearch-is-asking-for-authentication-after-running-bat-file/174629>\
**Category:** Elasticsearch\
**Created:** [March 30, 2019, 7:14am UTC](https://discuss.elastic.co/t/elasticsearch-is-asking-for-authentication-after-running-bat-file/174629 "2019-03-30T07:14:28Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ashwin\_srivatsa](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ashwin_srivatsa/32/43143_2.png) [@Ashwin\_srivatsa](https://discuss.elastic.co/u/Ashwin_srivatsa)\
**Post date:** [March 30, 2019, 7:14am UTC](https://discuss.elastic.co/t/elasticsearch-is-asking-for-authentication-after-running-bat-file/174629/1 "2019-03-30T07:14:29Z")

</div>

I am trying elasticsearch for the first time but when i hit [http://localhost:9200](http://localhost:9200) it is asking me to authenticate using username and password.  
how do i get rid of it.

thanks

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [March 30, 2019, 7:26am UTC](https://discuss.elastic.co/t/elasticsearch-is-asking-for-authentication-after-running-bat-file/174629/2 "2019-03-30T07:26:47Z")

</div>

What did you install? Exactly how did you install it?

---

<div class="post-metadata">

**Author:** ![MKU](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mku/32/48327_2.png) [@MKU](https://discuss.elastic.co/u/MKU)\
**Post date:** [March 30, 2019, 2:14pm UTC](https://discuss.elastic.co/t/elasticsearch-is-asking-for-authentication-after-running-bat-file/174629/3 "2019-03-30T14:14:41Z")

</div>

Same issue,  
I downloaded the zip file of elasticsearch and i run elasticsearch.bat in bin folder,  
but when i access 9200 it asks me to authenticate.

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [March 30, 2019, 2:26pm UTC](https://discuss.elastic.co/t/elasticsearch-is-asking-for-authentication-after-running-bat-file/174629/4 "2019-03-30T14:26:04Z")

</div>

That sounds strange. From which URL did you download elasticsearch? Can you share the logs? (Formatted please with `</>`)

---

<div class="post-metadata">

**Author:** ![Ashwin\_srivatsa](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ashwin_srivatsa/32/43143_2.png) [@Ashwin\_srivatsa](https://discuss.elastic.co/u/Ashwin_srivatsa)\
**Post date:** [April 13, 2019, 6:44am UTC](https://discuss.elastic.co/t/elasticsearch-is-asking-for-authentication-after-running-bat-file/174629/5 "2019-04-13T06:44:31Z")

</div>

![Screenshot%20(68)](https://us1.discourse-cdn.com/elastic/original/3X/8/d/8da58aed8a303c8d52ef9de7db9e7d680b3d925d.png)  
It is asking for authentication when running on 9200 how to get through this

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [April 13, 2019, 8:37am UTC](https://discuss.elastic.co/t/elasticsearch-is-asking-for-authentication-after-running-bat-file/174629/6 "2019-04-13T08:37:40Z")

</div>

What version did you download? There is no security out of the box unless you activate it I think. (Not sure for windows distribution though)

---

<div class="post-metadata">

**Author:** ![wldev](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/wldev/32/44080_2.png) [@wldev](https://discuss.elastic.co/u/wldev)\
**Post date:** [April 13, 2019, 9:03am UTC](https://discuss.elastic.co/t/elasticsearch-is-asking-for-authentication-after-running-bat-file/174629/7 "2019-04-13T09:03:15Z")

</div>

Oh yea... developersfucked sth up heavily and now they point middle finger at users.... just because they have no fucking . clue whats going on, but they call themselves developers..... fuckers.....

Shame on them, on ES, on FOSS world (as they - to some extend - represent whole FOSS). And they are rude when being contacted via mail....,.

Not to mention they doo their best to steal your money...... supposedly you owe them foor cloud (or other shit)......

@dadoonet Dont be so surprised by the fact that users dont know where to download from - there are many download links on your website and they (users) are somehow lost.......

Its on purpose - the only purpose is to steal money from users:: that whats called:: you have to pay twice :: first for external cloud (and their added cost like traffic, bandwitch, storage etc) and secoond payment is subscription to ES service. You claim that one payment is enough :: no its not. So, you steal from users. Simple as that.

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [April 13, 2019, 9:37am UTC](https://discuss.elastic.co/t/elasticsearch-is-asking-for-authentication-after-running-bat-file/174629/8 "2019-04-13T09:37:43Z")

</div>

Sorry. Did you provide any helpful information to the user question?  
I wish you did as a community member helping others.  
I have hard time to understand what you are doing on this forum if you don't like what we are building, how we are building it and not providing any help to users.

> [@wldev](#):
>
> Dont be so surprised by the fact that users dont know where to download from - there are many download links on your website and they (users) are somehow lost.......

If anyone else is having hard time to find the download links, please start from [https://www.elastic.co/](https://www.elastic.co/)

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/7/0/70f1fb4c95c93f4ff30627708d404bc4306a92d2.jpeg)

Click on `downloads`. It will open: [Download Elastic Products | Elastic](https://www.elastic.co/downloads/)

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/6/0/601c9cd729bbc3a8bc1606e8b15be26882d1ab07.jpeg)

Click on `Download` under Elasticsearch. It will open: [Download Elasticsearch | Elastic](https://www.elastic.co/downloads/elasticsearch)

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/1/7/17f31f00d3e1d62d60e82f1d521115f4b1a6efe4.png)

Pick the version you need.

HTH

---

<div class="post-metadata">

**Author:** ![wldev](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/wldev/32/44080_2.png) [@wldev](https://discuss.elastic.co/u/wldev)\
**Post date:** [April 13, 2019, 1:20pm UTC](https://discuss.elastic.co/t/elasticsearch-is-asking-for-authentication-after-running-bat-file/174629/9 "2019-04-13T13:20:45Z")

</div>

You are on Mac 🙂 Thats nice 🙂 welcome in Apple ecosystem 🙂

As per your question :: Im here for what forums are all about :: to become vocal aboout sth 🙂 Im allowed to

And hell yes -\> I dislike ES very very much.... Im not saying that ES is useless for everyone; its just that Id do it differently (=using differnt IT resources).

---

<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:** [May 11, 2019, 1:20pm UTC](https://discuss.elastic.co/t/elasticsearch-is-asking-for-authentication-after-running-bat-file/174629/10 "2019-05-11T13:20:46Z")

</div>

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