Install Magento 2.4 : could not validate a connection to elasticsearch. no alive nodes found in your cluster

Hi, I’m having the same problem you reported on GitHub in the Magento 2.4 installation

In SearchConfig.php line 81:

Could not validate a connection to Elasticsearch. No alive nodes found in y

our cluster

I’ve got elasticserarch running locally, I’ve got kibana, brain and enterprise-search hooked up and they’re all communicating smoothly and reporting a green health status.

My version of elastic search is 7.8.1

at elasticsearch.yml I now have these rules active ga+++++r true true /var/lib/elasticsearch

path.logs: /var/log/elasticsearch localhost



http.port: 9200

transport.tcp.port: 9300

discovery.type: single-node

My installation command is:

bin/magento setup:install








[–](mailto:–admin-email=[email protected])













Someone has had this problem and managed to solve it or knows how to solve it.

I need help.

submitted by /u/Garihogar
[link] [comments]