# Can not add a node

**URL:** <https://discuss.elastic.co/t/can-not-add-a-node/271131>\
**Category:** Elasticsearch\
**Created:** [April 24, 2021, 6:23am UTC](https://discuss.elastic.co/t/can-not-add-a-node/271131 "2021-04-24T06:23:19Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Farid\_N](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/farid_n/32/74144_2.png) [@Farid\_N](https://discuss.elastic.co/u/Farid_N)\
**Post date:** [April 24, 2021, 6:23am UTC](https://discuss.elastic.co/t/can-not-add-a-node/271131/1 "2021-04-24T06:23:20Z")

</div>

Hi there

Unfortunately, I can not add another node to my single node cluster.  
The `elasticsearch.yml` of master node is:

```auto
cluster.name: logServer
node.name: elk1
node.master: true
node.data: true
path.data: /var/lib/elasticsearch
path.logs: /var/log/elasticsearch
network.host: 0.0.0.0
transport.host: 172.22.34.36
http.port: 9200
discovery.seed_hosts:
  - 172.22.34.36:9300
  - 172.22.34.37:9300

```

and the `elasticsearch.yml` of new node is:

```auto
cluster.name: logServer
node.name: elk2
node.master: false
node.data: true
path.data: /var/lib/elasticsearch
path.logs: /var/log/elasticsearch
network.host: 0.0.0.0
transport.host: 172.22.34.37
http.port: 9200
discovery.seed_hosts:
  - 172.22.34.36:9300
  - 172.22.34.37:9300

```

My `kibana.yml` is:

```auto
server.port: 5601
server.host: 0.0.0.0
server.name: "elk-test"
elasticsearch.hosts: ["http://localhost:9200","http://172.22.34.37:9200"]

```

But when I restart the services, I see the bellow picture in Kibana:

 ![Kibana Test](https://us1.discourse-cdn.com/elastic/original/3X/3/d/3d4c1c11b4deb4d342c32f229945bee6eb975822.jpeg)

Where is the problem?

When I type `netstat -tnlp` in my master node (and also even in another node), I see:

```auto
tcp 0 0 0.0.0.0:5601 0.0.0.0:* LISTEN 24387/node
tcp6 0 0 127.0.0.1:9600 :::* LISTEN 944/java
tcp6 0 0 :::9200 :::* LISTEN 21868/java
tcp6 0 0 172.22.34.36:9300 :::* LISTEN 21868/java
tcp6 0 0 :::5044 :::* LISTEN 944/java
tcp6 0 0 :::5045 :::* LISTEN 944/java

```

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [April 24, 2021, 8:08am UTC](https://discuss.elastic.co/t/can-not-add-a-node/271131/2 "2021-04-24T08:08:31Z")

</div>

Could you share the full logs of both nodes?

---

<div class="post-metadata">

**Author:** ![Farid\_N](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/farid_n/32/74144_2.png) [@Farid\_N](https://discuss.elastic.co/u/Farid_N)\
**Post date:** [April 24, 2021, 9:18am UTC](https://discuss.elastic.co/t/can-not-add-a-node/271131/3 "2021-04-24T09:18:24Z")

</div>

Thank you so much for your reply 🙂  
The problem was resolved on its own...  
Maybe I didn`t restart kibana (I think so)  
Anyway, thank you so much

---

<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:** [May 22, 2021, 9:18am UTC](https://discuss.elastic.co/t/can-not-add-a-node/271131/4 "2021-05-22T09:18:52Z")

</div>

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