my Elasticsearch is installed on azure virtual machine. works fine locally in :
http://localhost:9200/
how to use it from outside ?
thanks
my Elasticsearch is installed on azure virtual machine. works fine locally in :
http://localhost:9200/
how to use it from outside ?
thanks
Within your Elasticsearch.yml configuration you have to change your Network part.
It's the setting: network.host:
default value set to local (localhost) and you may apply the following 4:
So inside the same network use site, while from a different network you should use global. But as stated in the docu - be carefull exposing unprotected nodes to the public...
taken from the official docu, further details are also available there.
EDIT: I found the same question for elasticserach version 2.0 here that refers to the following docu part of elasticsearch.
In the docu is written that
network :
host : 10.0.0.4
is also an applicable syntax to specifiy the adress.