ElasticSearch 2.0 Transport Client - No Node Available exception

后端 未结 3 1653
Happy的楠姐
Happy的楠姐 2021-01-27 01:22

[Using ElasticSearch version 2.0]

In etc/hosts file \"esnode\" is mapped to IP address(some other machine where ES is running) as shown

192.168.2.219 esnode

3条回答
  •  醉话见心
    2021-01-27 02:21

    Setup elasticsearch host ip address to network.host value in elasticsearch.yml

    network.host: es_host_ip

    This is solve TransportClient NoNodeAvailableException issue.

提交回复
热议问题