# Elastic nodes and kibana on different VM

**URL:** <https://discuss.elastic.co/t/elastic-nodes-and-kibana-on-different-vm/156542>\
**Category:** Elasticsearch\
**Created:** [November 13, 2018, 8:31pm UTC](https://discuss.elastic.co/t/elastic-nodes-and-kibana-on-different-vm/156542 "2018-11-13T20:31:50Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sj\_Tom](https://avatars.discourse-cdn.com/v4/letter/s/0ea827/32.png) [@Sj\_Tom](https://discuss.elastic.co/u/Sj_Tom)\
**Post date:** [November 13, 2018, 8:31pm UTC](https://discuss.elastic.co/t/elastic-nodes-and-kibana-on-different-vm/156542/1 "2018-11-13T20:31:50Z")

</div>

I have deployed elastic nodes, logstash through azure template. i have installed kibana on a separate VM. Kibana is not communicating with elasticsearch.

**_elasticsearch.yml_**

cluster.name: "rsxxxxxx"  
node.name: "DvELKdata-0"  
path.logs: /var/log/elasticsearch  
path.data: /datadisks/disk1/elasticsearch/data  
discovery.zen.ping.unicast.hosts: ["DvELKmaster-0:9300","DvELKmaster-1:9300","DvELKmaster-2:9300"]  
node.master: false  
node.data: true  
discovery.zen.minimum\_master\_nodes: 2  
network.host: [_site_, _local_]  
node.max\_local\_storage\_nodes: 1  
node.attr.fault\_domain: 0  
node.attr.update\_domain: 0  
cluster.routing.allocation.awareness.attributes: fault\_domain,update\_domain  
xpack.license.self\_generated.type: trial  
xpack.security.enabled: false  
bootstrap.memory\_lock: true

kibana.yml

# Kibana is served by a back end server. This setting specifies the port to use.

#server.port: 5601  
#To allow connections from remote users, set this parameter to a non-loopback address.  
server.host: "10.2\*\*.1\*\*.11" // [_site_] of elastic IP

# The maximum payload size in bytes for incoming server requests.

#server.maxPayloadBytes: 1048576

# The Kibana server's name. This is used for display purposes.![22%20PM|690x435]

#server.name: "your-hostname"

# The URL of the Elasticsearch instance to use for all your queries.

elasticsearch.url: "http:/127.0.0.1:9200"

 ![22%20PM](https://us1.discourse-cdn.com/elastic/original/3X/b/5/b5afad31e6ffe81e5d208d6cf31ec757eefd7e18.png)

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [November 14, 2018, 2:37am UTC](https://discuss.elastic.co/t/elastic-nodes-and-kibana-on-different-vm/156542/2 "2018-11-14T02:37:57Z")

</div>

> [@Sj\_Tom](#):
>
> elasticsearch.url: "http:/127.0.0.1:9200"

That needs to be the IP of the Elasticsearch host.

---

<div class="post-metadata">

**Author:** ![Sj\_Tom](https://avatars.discourse-cdn.com/v4/letter/s/0ea827/32.png) [@Sj\_Tom](https://discuss.elastic.co/u/Sj_Tom)\
**Post date:** [November 14, 2018, 3:47pm UTC](https://discuss.elastic.co/t/elastic-nodes-and-kibana-on-different-vm/156542/3 "2018-11-14T15:47:19Z")

</div>

Thanks for the attention Mark..  
I updated the elasticsearch url to [http://10.2](http://10.2)\*\*.1\*\*.11"

When i visited [http://10.2](http://10.2)\*\*.1\*\*.11" :5601 - it still says connection refused

kibana.yml  
#server.port: 5601  
server.host: "10.2\*\*.1\*\*.11"  
#server.maxPayloadBytes: 1048576  
#server.name: "[http://10.2](http://10.2)\*\*.1\*\*.11" ::5601"  
elasticsearch.url: "[http://10.2](http://10.2)\*\*.1\*\*.11" ::9200"  
#elasticsearch.preserveHost: true

NOTE : Kibana runs on 10.2\*\*.1\*\*.14

---

<div class="post-metadata">

**Author:** ![Sj\_Tom](https://avatars.discourse-cdn.com/v4/letter/s/0ea827/32.png) [@Sj\_Tom](https://discuss.elastic.co/u/Sj_Tom)\
**Post date:** [November 14, 2018, 4:23pm UTC](https://discuss.elastic.co/t/elastic-nodes-and-kibana-on-different-vm/156542/4 "2018-11-14T16:23:53Z")

</div>

**stderror file:**

FATAL { [Error: listen EADDRNOTAVAIL _._ . _._ :5601]  
cause:  
{ [Error: listen EADDRNOTAVAIL _._ . _._ :5601]  
code: 'EADDRNOTAVAIL',  
errno: 'EADDRNOTAVAIL',  
syscall: 'listen',  
address: ' _._ . \*.11 ',  
port: 5601 },  
isOperational: true,  
code: 'EADDRNOTAVAIL',  
errno: 'EADDRNOTAVAIL',  
syscall: 'listen',  
address: ' _._ . \*.11 ',  
port: 5601 }

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [November 14, 2018, 11:04pm UTC](https://discuss.elastic.co/t/elastic-nodes-and-kibana-on-different-vm/156542/5 "2018-11-14T23:04:56Z")

</div>

> [@Sj\_Tom](#):
>
> I updated the elasticsearch url to [http://10.2](http://10.2)\*\*.1\*\*.11"

You also updated `server.host`. See [Configure Kibana | Kibana Guide [8.11] | Elastic](https://www.elastic.co/guide/en/kibana/current/settings.html) for what that means.

---

<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:** [December 12, 2018, 11:04pm UTC](https://discuss.elastic.co/t/elastic-nodes-and-kibana-on-different-vm/156542/6 "2018-12-12T23:04:57Z")

</div>

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