Setup-Passwords

I'm trying to run the docker containers set up to run on port 9210. When running the setup-passwords command, I get "Connection failure to: http://172.18.0.2:9200/_xpack/security/_authenticate?pretty failed" but I can't find where to set the url for that command.

You want to use the --url option

https://www.elastic.co/guide/en/elasticsearch/reference/6.2/setup-passwords.html

Thanks, I don't know why searching setup-passwords didn't turn that up earlier.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.