Seems there is no Elasticsearch running on localhost:9300 - Will exit

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.

-Thanks

and the host is 344.87.62.76.

Is it though? That’s not a valid IP address.

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?

I know its not valid. its just random.
By default that script considers localhost , unless specified host.
How do i change the host. to the IP.

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.

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