Elastic Search as windows service

(Anubhav) #1

Hi,

I want to know how to install ElasticSearch as a windows service with the network.host set so that all of my dev machines can access the service over 9200 port.

I figured out that we can do this with the -E network.host=0.0.0.0 using ElasticSearch.bat but can't understand how to do this when used as a windows service.

Thanks,

(Xavier Facq) #2

Hi,

You can set this configuration in the elasticsearch.yml file, in the /conf directory of the installation.

network.host: 192.168.0.1

Bye,
Xavier

(system) closed #3

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