Introduction
when configuring elasticsearch, I had a problem with binding listening interfaces. somehow the documentation does not provide how to configure several network interfaces ( network def and bind def )
description of the problem
I intend to establish network.bind_hosthow _eth1:ipv4_and_local_
even when trying to install bind_hostonly as an _local_
elastic search port 9200 only eth1 is still available (of course, I restarted the server)
solutionsI tested the firewall configuration by setting up a netcat server and it works fine for this port
, therefore, this leads to two questions:
- how to set up multiple nics? (what is the designation?)
- Do I need to change
network.publish_host?!
.
:
network.bind_host: _eth1:ipv4_
network.publish_host: _eth1:ipv4_
network.host: _eth1:ipv4_
:
network.bind_host: _local_
network.publish_host: _eth1:ipv4_
network.host: _local_
PS:
afaik publish_host