1

I have a 4gb ram machine that works as a DB server for a ios/webapp. On that machine I only have Elasticsearch and MySql installed.

What I want to do now is to only allow connections to ES from two IP addresses. The two servers that hosts the ios and webapp.

Do I set these ip addresses in the ES conf file?:

  • network.host
  • network.bind_host
  • network.publish_host

1 Answer 1

2

Those options are to manage what IP will the server use to listen for the incoming connections. I would recommend that you use Ubuntu firewall to controll who has access to the ES port, or you can use a plugin from Elastic, Shield, that provides that feature (as described in Shield documentation.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .