I have some difficulties when I run the elasticsearch on Windows. I wonder if you could help me in this process to solve the error.
My Java version is: java version "1.8.0_271"
I installed elasticsearch, successfully using .msi package GUI. I used the basic License of it. I'm using the elasticsearch for education as well. the curl was also installed.
In addition, I run the elasticsearch by the .\bin\elasticsearch and I got the following message in my Command Prompt:
Elasticsearch is already running as a service and currently: Running.
I opened localhost:9200 and I saw the elasticsearch is running.
When I want to follow along with the Getting Started Guide, for the first command related to Cluster Health I receive the following message shows it doesn't work properly:
Thanks for your fast reply. I'm a bit confused.
I did it. This is why I opened localhost:9200.
In fact, before using "elasticsearch-setup-passwords auto", I could not open the localhost:9200 on the browser. After that, I put the generated password into the browser pop-up and opened localhost:9200.
I got the code "curl -X GET "localhost:9200/_cat/health?v&pretty"" from the following link to check the basic health. The error that I mentioned before, still appear, by the way.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.