Slave node failed to connect with master (ELasticsearch Clustering)

Master Node

cluster.name: development
node.name: master
node.master: true
node.data: false
path.data: /usr/local/data/elasticsearch
path.logs: /usr/local/logs/elasticsearch
network.host: 0.0.0.0
discovery.zen.ping.multicast.enabled: false
discovery.zen.ping.unicast.hosts: ["master_ip:9300","client_ip:9300","slave_ip:9300"]
discovery.zen.minimum_master_nodes: 1

Client Node
cluster.name: development
node.name: client
node.master: false
node.data: false
path.data: /usr/local/data/elasticsearch
path.logs: /usr/local/logs/elasticsearch
network.host: 0.0.0.0
discovery.zen.ping.multicast.enabled: false
discovery.zen.ping.unicast.hosts: ["master_ip:9300","client_ip:9300","slave_ip:9300"]
discovery.zen.minimum_master_nodes: 1

Slave Node
cluster.name: development
node.name: slave
node.master: false
node.data: true
path.data: /usr/local/data/elasticsearch
path.logs: /usr/local/logs/elasticsearch
network.host: 0.0.0.0
discovery.zen.ping.multicast.enabled: false
discovery.zen.ping.unicast.hosts: ["master_ip:9300","client_ip:9300","slave_ip:9300"]
discovery.zen.minimum_master_nodes: 1

Gettting below error

[discovery.zen ] [slave] failed to connect to master
$ConnectTransportException[[newmaster][172.31.37.225:9300] connect_timeout[30s]]; nested: ConnectT$
at org.elasticsearch.transport.netty.NettyTransport.connectToChannels(NettyTransport.java$
at org.elasticsearch.transport.netty.NettyTransport.connectToNode(NettyTransport.java:920)
at org.elasticsearch.transport.netty.NettyTransport.connectToNode(NettyTransport.java:893)
at org.elasticsearch.transport.TransportService.connectToNode(TransportService.java:260)

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.