Skip to content

Magento 2.4.6 Install with Elasticsearch

I am trying to install Magento 2.4.6 with elastic search, I am using the following

--search-engine elasticsearch8  --elasticsearch-port 9232  --elasticsearch-index-prefix "test" 

but I just keep getting the error

Could not validate a connection to the OpenSearch. No alive nodes found in your cluster

Can anyone see what I am doing wrong?