I’m trying to install elastic search for Magneto-2.4. When I run localhost:9200 it is asking for username and password in window and don’t know about. Please help me to resolve this issue.
My elastic search version is 8.3.2
Please help me to fix this.
2
Create a pasword using: C:elasticsearch-8.3.2bin>binelasticsearch-reset-password -u elastic
cf: https://www.elastic.co/guide/en/elasticsearch/reference/current/zip-windows.html#windows-service
I was also stuck at the same thing. But I will suggest for local and learning level you can disable the password.
It is a 2 step process:
Now restart your elastic search server.
Click here to cancel reply.
2
Answers
Create a pasword using: C:elasticsearch-8.3.2bin>binelasticsearch-reset-password -u elastic
cf:
https://www.elastic.co/guide/en/elasticsearch/reference/current/zip-windows.html#windows-service
I was also stuck at the same thing. But I will suggest for local and learning level you can disable the password.
It is a 2 step process:
xpack.security.enabled:false Or make it false if true.
Now restart your elastic search server.