Allie_Yang
(Allie Yang Yang)
October 5, 2016, 10:12pm
6
Is below right?
ES still tries to connect 127.0.0.1...
I changed elasticsearch.yml in network portion:
---------------------------------- Network -----------------------------------
Set the bind address to a specific IP (IPv4 or IPv6):
network.host: 192.168.0.194
Set a custom port for HTTP:
http.port: 9300
As well as Discover portion:
--------------------------------- Discovery ----------------------------------
Pass an initial list of hosts to perform discovery when new node is started:
The default list of hosts is ["192.168.0.194"]
discovery.zen.ping.multicast.enabled: false
discovery.zen.ping.unicast.hosts: ["192.168.0.238","192.168.0.237","192.168.0.208","192.168.0.181"]