# Beginner: Basic Problem -\> Localhost:9200 failed

**URL:** https://discuss.elastic.co/t/beginner-basic-problem-localhost-9200-failed/153487
**Category:** Elasticsearch
**Created:** [October 22, 2018, 10:05pm UTC](https://discuss.elastic.co/t/beginner-basic-problem-localhost-9200-failed/153487 "2018-10-22T22:05:18Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![Prisilla\_Ade\_Haryant](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/prisilla_ade_haryant/32/36794_2.png) [@Prisilla\_Ade\_Haryant](https://discuss.elastic.co/u/Prisilla_Ade_Haryant)
#### Post date: [October 22, 2018, 10:05pm UTC](https://discuss.elastic.co/t/beginner-basic-problem-localhost-9200-failed/153487/1 "2018-10-22T22:05:18Z")

</div>

Hi,  
I'm newbie here. I just installed the elasticsearch in windows, i use java too, and need to run the localhost:9200, but it was failed and it brought me to the bing or a normal google pages with the keywords "localhost:9200 is not found elastic search". Can someone help me with this basic thing? how to fix this simple problem?  
Thank you!

best regards,  
Silla

---

<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: [October 23, 2018, 12:10am UTC](https://discuss.elastic.co/t/beginner-basic-problem-localhost-9200-failed/153487/2 "2018-10-23T00:10:30Z")

</div>

Can you do a screenshot? I'm not sure I understood.

---

<div class="post-metadata">

### Author: ![Prisilla\_Ade\_Haryant](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/prisilla_ade_haryant/32/36794_2.png) [@Prisilla\_Ade\_Haryant](https://discuss.elastic.co/u/Prisilla_Ade_Haryant)
#### Post date: [October 24, 2018, 10:29am UTC](https://discuss.elastic.co/t/beginner-basic-problem-localhost-9200-failed/153487/3 "2018-10-24T10:29:17Z")

</div>

I'm sorry that the description is not clear, but can you tell me how to run the localhost:9200 with the curl. I installed the curl and OpenSSL for windows, but i don't quite know how to use it for the elastic search ( i installed this too with the MSI installer). Can you help me? I'm quite beginner for this matter.

thank you!

---

<div class="post-metadata">

### Author: ![Sripal](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sripal/32/36704_2.png) [@Sripal](https://discuss.elastic.co/u/Sripal)
#### Post date: [October 24, 2018, 10:47am UTC](https://discuss.elastic.co/t/beginner-basic-problem-localhost-9200-failed/153487/4 "2018-10-24T10:47:43Z")

</div>

First you have to download the elasticsearch from [https://www.elastic.co/downloads/elasticsearch](https://www.elastic.co/downloads/elasticsearch)

1. Open command prompt
2. Navigate to the elasticsearch bin folder ex: D:\ELK\Elasticserach6.4\bin\
3. Run the command ".\elasticsearch" or ".\elasticsearch.bat"
4. Observe the output
5. Open browser and type "localhost:9200"

Before that please check your JVM heap size in Environment Variables

Still you are facing the issue please share us the command promt output screen after running the ".\elasticsearch" command.

Environment variable screenshot.

🙂

---

<div class="post-metadata">

### Author: ![Prisilla\_Ade\_Haryant](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/prisilla_ade_haryant/32/36794_2.png) [@Prisilla\_Ade\_Haryant](https://discuss.elastic.co/u/Prisilla_Ade_Haryant)
#### Post date: [October 24, 2018, 6:16pm UTC](https://discuss.elastic.co/t/beginner-basic-problem-localhost-9200-failed/153487/5 "2018-10-24T18:16:34Z")

</div>

Hey,  
thank you for your respond! I've tried to install it with the MSI Installer and it was successful, but everytime i try to run the the command "\elasticsearch" adn came out like this. I also send you the enviroment variable. Can you help me? 🙂

 ![command%20Prompt%20ELK](https://us1.discourse-cdn.com/elastic/original/3X/5/8/58ecf2b8591bf5d589686dd7a04800c597299672.png) ![PathforJava](https://us1.discourse-cdn.com/elastic/original/3X/6/b/6bb95dedfeebeef2d348508ccf5f50f5050eef9e.png)

---

<div class="post-metadata">

### Author: ![Sripal](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sripal/32/36704_2.png) [@Sripal](https://discuss.elastic.co/u/Sripal)
#### Post date: [November 19, 2018, 4:47am UTC](https://discuss.elastic.co/t/beginner-basic-problem-localhost-9200-failed/153487/6 "2018-11-19T04:47:51Z")

</div>

@Prisilla_Ade_Haryant . It is clearly shows the command prompt don't have the permisstion to execute .  
Please run the same in Powershell with administator permissions.  
Thanks 🙂

---

<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: [December 17, 2018, 4:47am UTC](https://discuss.elastic.co/t/beginner-basic-problem-localhost-9200-failed/153487/7 "2018-12-17T04:47:54Z")

</div>

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