Add External Ip Address In Elasticsearch 7 Yml

To avoid following error

[ERROR][o.e.b.Bootstrap          ] [ns510624.ip-yourip.net] node validation exception

[1]: the default discovery settings are unsuitable for production use; at least one of [discovery.seed_hosts, discovery.seed_providers, cluster.             initial_master_nodes] must be configured

Do following in your /etc/elasticsearch/elasticsearch.yml

network.bind_host: 0.0.0.0
network.publishhost: your_ip
discovery.seedhosts: [“your_ip”]



Similar Snippets


Add External Ip Address In Elasticsearch 7 Yml – elasticsearch

Importerror: Cannot Import Name ‘Queue’ Elasticsearch-Dsl – elasticsearch

Copyright © Code Fetcher 2020

 

 

Published

Leave a comment

Your email address will not be published. Required fields are marked *