Hi all,
I am trying to run sgadmin_demo.sh. and the host is 344.87.62.76.
./sgadmin_demo.sh -h 344.87.62.76. is throwing me this Seems there is no Elasticsearch running on localhost:9300 - Will exit.
how can i change the host name .by default its considering localhost.
search guard version i am using is 7.1.1.
Looking at the the sgadmin_demo.sh script that got generated for my demo install of Search Guard 6 I can see that it does not accept any arguments. Does yours?
By default that script considers localhost , unless specified host.
If you look at the script I think you’ll find it assumes localhost and there is no “unless specified host” because it doesn’t accept any arguments. Post the output of the script and we’ll know for sure. If the script is calling sgadmin.sh then try using that sgadmin.sh command but adding the -h argument to it.