ElasticSearch 7 start up error - the default discovery settings are unsuitable for production use

I am having this issue( 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) with my Elasticsearch. 
I did some googling and found a solution to add the node in the discovery.seed_hosts in the Elasticsearch.yml
The solution worked for a short time an it started happening again. 
I had it set up as this discovery.seed_hosts: ["n1"] since I am using only a single node. 

Is there anything I am missing? Kindly help?
Thanks

That sounds right to me. If you're seeing this message then discovery.seed_hosts is not set, and the solution is to set it.

Welcome to our community! :smiley:
FYI your post is quite difficult to read with that formatting, you may want to consider editing it to make it easier to read, as that will help others help you.

Issue solved. Thanks

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