skip to Main Content

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.

enter image description here

2

Answers


  1. 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

    Login or Signup to reply.
  2. 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:

    1. Go to config folder in elasticsearch and open elasticsearch.yml.
    2. There add the line :
      xpack.security.enabled:false Or make it false if true.

    Now restart your elastic search server.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search