la-haute-societe / craft-elasticsearch

Bring the power of Elasticsearch to your Craft CMS projects
Other
18 stars 14 forks source link

How to connect Elasticsearch through docker #5

Closed testmember012 closed 5 years ago

testmember012 commented 5 years ago

I did a setup of development environment using your Docker documetation. Setup was successful but while creating Elasticsearch connection, I get the following error : Could not connect to the Elasticsearch instance at http://elasticsearch:9200. Please check the endpoint URL and authentication settings. The details I used are: Endpoint URL : http://elasticsearch:9200 Username : elastic Password : changeme

I had tried http://localhost:5601/ as Endpoint URL too, but that also gave the same error. Am I using the correct details or is there any step that I had missed ?

juban commented 5 years ago

Hi @testmember012,

There are some points you could check to help figure out what's going wrong:

Please, let us know if you still have issues.

testmember012 commented 5 years ago

Thanks. After changing the container name Elasticsearch connection was successful.