# I cant reach Elasticsearch localhost:9200

**URL:** https://discuss.elastic.co/t/i-cant-reach-elasticsearch-localhost-9200/317323
**Category:** Elasticsearch
**Tags:** docker
**Created:** [October 24, 2022, 2:22pm UTC](https://discuss.elastic.co/t/i-cant-reach-elasticsearch-localhost-9200/317323 "2022-10-24T14:22:43Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Dun\_King](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dun_king/32/99485_2.png) [@Dun\_King](https://discuss.elastic.co/u/Dun_King)
#### Post date: [October 24, 2022, 2:22pm UTC](https://discuss.elastic.co/t/i-cant-reach-elasticsearch-localhost-9200/317323/1 "2022-10-24T14:22:43Z")

</div>

Hello together, im trying to setup Elasticsearch for 10 hour now, i tried any tips i found on different sites and Forums, but noone could heklp me.

I am following the instruction exactly as they are written on the main site:

[Install Elasticsearch with .zip on Windows | Elasticsearch Guide [8.4] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/current/zip-windows.html)

Everything works fine until the point where i test if my elasticsearch node is running:

`curl --cacert %ES_HOME%\config\certs\http_ca.crt -u elastic https://localhost:9200 `  
After this i am asked to the enter the previously created password. When i do so i get the following error Message: `url: (77) schannel: failed to open CA file '%ES_HOME%\config\certs\http_ca.crt': Das System kann den angegebenen Pfad nicht finden.`

After trying for quite a while, i got a tip to use Elasticsearch with Docker, so i followed this guide:  
[Run Elasticsearch locally | Elasticsearch Guide [8.4] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/current/run-elasticsearch-locally.html)

Again everything works fine until the Kibana part. So i get an url wich i need to type into my browser and then enter the Token into Kibana. But with typing the url i again cant reach any site.

Iam very happy for every bits of help, i dont know what to do anymore.

Thank you in advance.

---

<div class="post-metadata">

### Author: ![Dun\_King](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dun_king/32/99485_2.png) [@Dun\_King](https://discuss.elastic.co/u/Dun_King)
#### Post date: [October 24, 2022, 3:13pm UTC](https://discuss.elastic.co/t/i-cant-reach-elasticsearch-localhost-9200/317323/2 "2022-10-24T15:13:29Z")

</div>

Additional Info, after following the Docker Guide for Elasticsearch, i am able to open Kibana. And after Entering the genereated Token and Kibana Verification Number, i am forwared to Elastic Search and prompted to enter Username and password. After doing so i can reach Kibana.

But localhost:9200 and any variations with http or https do not reach the elasticserach cluster

---

<div class="post-metadata">

### Author: ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)
#### Post date: [October 26, 2022, 12:30am UTC](https://discuss.elastic.co/t/i-cant-reach-elasticsearch-localhost-9200/317323/3 "2022-10-26T00:30:09Z")

</div>

Did you expose the container ports? What does your docker file look like?

---

<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: [November 23, 2022, 12:30am UTC](https://discuss.elastic.co/t/i-cant-reach-elasticsearch-localhost-9200/317323/4 "2022-11-23T00:30:44Z")

</div>

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