Im trying to install magento 2.4.6 version in windows system. Installed elastic search 7.17 version and commandline used is below
php bin/magento setup:install --base-url=http://localhost:8082/magento --db-host=localhost --db-host=localhost:3309 --db-name=magento --db-user=root --db-password= --admin-firstname=admin --admin-lastname=admin [email protected] --admin-user=admin --admin-password=admin123 --language=en_US --currency=USD --timezone=America/Chicago --use-rewrites=1 --backend-frontname=admin --search-engine=elasticsearch7 --elasticsearch-host=localhost --elasticsearch-port=9200
But throwing error "Could not validate a connection to Elasticsearch. Unknown 504 error from Elasticsearch null"
Later thought maybe compatability issues and installed elasticsearch8 and tried installation. But same error occured. Please help me to solve this
Thanks.