I have started a website build in Magento2.4.

How to check that Elasticsearch is installed Magento2.4 packages I have installed on my hosting server.

Please share command that I can run with ssh.

If it is not installed please share how do I install.

I have checked my admin panel setting & Elasticsearch connection is always getting failed with no alive nodes found in your cluster error.

Please fix this issue.

Please share details that relates to windows machine because I am running my magento site on windows machine.

I have to run my website soon.


You can check elasticsearch is installed or not using the below command:

curl -XGET '<host>:9200/_cat/health?v&pretty'

If you haven't installed elastic search yet, you can install it using this reference link: https://www.elastic.co/guide/en/elasticsearch/reference/current/install-elasticsearch.html

For more detail information please refer Magento dev docs guide: https://devdocs.magento.com/guides/v2.4/install-gde/prereq/elasticsearch.html#es-install-es6


  • How to install JDK on hosting server first with ssh – Salman Dalal Sep 6 '20 at 13:54
  • Please refer devdocs.magento.com/guides/v2.4/install-gde/prereq/… This reference link has commands to install JDK as per Installed OS. Let me know if it works for you. – Vishal Sutariya Sep 6 '20 at 13:56
  • I already checked this link but did not find windows or ssh link – Salman Dalal Sep 6 '20 at 13:59
  • Which OS is installed on the server where Magento 2.4.0 is installed? – Vishal Sutariya Sep 6 '20 at 14:01
  • I have a linux hosting but I m using admin panel and all on windows 7 – Salman Dalal Sep 6 '20 at 14:03

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.