I cant reach Elasticsearch localhost:9200

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

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

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.

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

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

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