I am guessing you get an error like : 'service' is not recognised as an internal or external command, operable program or batch file
The error means there is no "service" command, on windows the command might be after is called "sc"
Thank you Julien, i am able to run the command as you pointed out correctly. However when i run this command. I see a message which say service is installed, but i am not able to start the service.
Hi Gourav,
If you can't start the service, please check the elasticsearch logs and find out which Error(s) appear. If you can't find documentation on the error raise it and we should be able to help direct you to the right resources
In case you have no log file error, and an error from windows when starting the service, check that the service may be running by connecting to http://localhost:9200 - if you can connect elasticsearch is running
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.