Elasticsearch Allow access from localhost and two other ips

I have an elasticsearch server setup at

http://hostname:9200. 

      

The server is bound to localhost in elasticsearch.yml as stated in https://www.digitalocean.com/community/tutorials/how-to-install-elasticsearch-on-an-ubuntu-vps . This only works so that localhost can connect to the server. I need to allow two other servers (worker nodes) to connect to the server to host data there. How can I bind additional ips so that elasticsearch server can be accessed from localhost and two other ips?

+3
elasticsearch


source to share


No one has answered this question yet

Check out similar questions:

38
ElasticSearch: only allow local queries
3
missing 'content-type' token in 'Access-Control-Allow-Headers' cors header from CORS preview feed in elasticsearch
3
Can't access elasticsearch server that is running on VirtualBox
1
How to secure NEST connectivity to the Elasticsearch client node
0
Unable to access remote Elasticsearch instance from NodeJs app
0
Elasticsearch newbie: integration with rails and localhost: 9200
0
Elasticsearch service in VM is not available
0
Running elasticsearch on Azure VM with Docker: cannot be accessed via localhost
0
Elasticsearch 9200 remote access not working
-1
Can we connect to elasticsearch cluster from Azure website?



All Articles
Loading...
X
Show
Funny
Dev
Pics