Can't connect to localhost:9200, cluster health yellow

I read from various that if I want to create single node my number of replicas should be 0, but when i try
number_of_replicas: 0in elasticsearch.yml, it gives me error that I cannot set index level setting on node level configuration and the suggestion was to use curl, I cannot start elasticsearch , so how can I send curl request to localhost:9200

[2017-06-14T17:06:48,673][INFO ][o.e.c.r.a.AllocationService] [node1] Cluster health status changed from [RED] to [YELLOW] (reason: [shards started [[.monitoring-es-2-2017.06.09][0], [.monitoring-data-2][0], [.watcher-history-3-2017.06.09][0], [.monitoring-alerts-2][0]] ...]).

I used tar version of elasticsearch and not a deb file


You should be able to do at least basic requests to a cluster, regardless of it's state. Also, YELLOW state is generally common for a single node cluster.

Can you try running curl localhost:9200 ?


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