Can we access Elastic Search API over Internet, i.e. Using IP address of server?

Can we access Elastic Search API over Internet, i.e. Using IP address of server ?

1 Like

Yes you can.

In my case I am not able to access ES API using IP address of server. Can you please let me know the changes that has to be made in config file or where ever it is needed to make it work.

network.host is what you need to modify if you want to expose your node.

I have Elasticsearch 2.1.0 Hosted on Azure Virtual Machine, I have tried with setting network.host to public IP of Server. But still it doesnt work for me. Is there any other Network setting?

Check your azure network settings. Endpoints.
9200 port should be opened.

Still no luck. When setting Public IP to network.host in Config, ES running window automatically gets terminated. Can you please send me sample Config file where you have configured Public IP address and accessed the ES API over Internet. Thanks in advance.

Sorry I can't.

May be the other way around?

You copy and paste all settings here and do some screenshots of your azure network settings?


here are the settings done in Elastisearch.yml

1 Like

I think you need to set:

network.host: 10.52.88.31

If it does not work, try with:

network.host: 13.67.60.228
1 Like