# Elasticsearch doesn't see the new node

**URL:** <https://discuss.elastic.co/t/elasticsearch-doesnt-see-the-new-node/210916>\
**Category:** Elasticsearch\
**Created:** [December 6, 2019, 4:04pm UTC](https://discuss.elastic.co/t/elasticsearch-doesnt-see-the-new-node/210916 "2019-12-06T16:04:21Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![ishv](https://avatars.discourse-cdn.com/v4/letter/i/4da419/32.png) [@ishv](https://discuss.elastic.co/u/ishv)\
**Post date:** [December 6, 2019, 4:04pm UTC](https://discuss.elastic.co/t/elasticsearch-doesnt-see-the-new-node/210916/1 "2019-12-06T16:04:21Z")

</div>

I've started two separate elastic instances that point out to a single node, here is my changed configs:

elasticsearch.yml (1)

```
cluster.name: ivan-cluster
node.name: node-1
discovery.seed_hosts: ["localhost"]

```

elasticsearch.yml (2)

```
cluster.name: ivan-cluster
node.name: node-2
discovery.seed_hosts: ["localhost"]

```

I've checked ports 9200 and 9201 - both are active and nodes are visible (same name, same UUID), however when I run `GET /_cluster/health` in Kibana dev tools I receive the following:

```
{
  "cluster_name" : "ivan-cluster",
  "status" : "green",
  "timed_out" : false,
  "number_of_nodes" : 1,
  "number_of_data_nodes" : 1,
  "active_primary_shards" : 3,
  "active_shards" : 3,
  "relocating_shards" : 0,
  "initializing_shards" : 0,
  "unassigned_shards" : 0,
  "delayed_unassigned_shards" : 0,
  "number_of_pending_tasks" : 0,
  "number_of_in_flight_fetch" : 0,
  "task_max_waiting_in_queue_millis" : 0,
  "active_shards_percent_as_number" : 100.0
}

```

What I did wrong?

---

<div class="post-metadata">

**Author:** ![rschirin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rschirin/32/45283_2.png) [@rschirin](https://discuss.elastic.co/u/rschirin)\
**Post date:** [December 6, 2019, 6:53pm UTC](https://discuss.elastic.co/t/elasticsearch-doesnt-see-the-new-node/210916/2 "2019-12-06T18:53:47Z")

</div>

Are you starting two instances on the same machine? If yes, I suppose you have to specify the port in discovery.seed\_hosts

---

<div class="post-metadata">

**Author:** ![ishv](https://avatars.discourse-cdn.com/v4/letter/i/4da419/32.png) [@ishv](https://discuss.elastic.co/u/ishv)\
**Post date:** [December 8, 2019, 5:27pm UTC](https://discuss.elastic.co/t/elasticsearch-doesnt-see-the-new-node/210916/3 "2019-12-08T17:27:06Z")

</div>

Yes, I'm trying to run two instances on the same machine. Could you provide en example of `discovery.seed_hosts` configuration?

---

<div class="post-metadata">

**Author:** ![rschirin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rschirin/32/45283_2.png) [@rschirin](https://discuss.elastic.co/u/rschirin)\
**Post date:** [December 11, 2019, 9:22am UTC](https://discuss.elastic.co/t/elasticsearch-doesnt-see-the-new-node/210916/4 "2019-12-11T09:22:43Z")

</div>

trust me, dive deeply into the documentation: [discovery-nodes](https://www.elastic.co/guide/en/elasticsearch/reference/current/discovery-settings.html#unicast.hosts)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [January 8, 2020, 9:22am UTC](https://discuss.elastic.co/t/elasticsearch-doesnt-see-the-new-node/210916/5 "2020-01-08T09:22:54Z")

</div>

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