# Problem connecting Kibana to remote ES cluster

**URL:** https://discuss.elastic.co/t/problem-connecting-kibana-to-remote-es-cluster/198004
**Category:** Kibana
**Created:** [September 4, 2019, 8:28am UTC](https://discuss.elastic.co/t/problem-connecting-kibana-to-remote-es-cluster/198004 "2019-09-04T08:28:21Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![theaxe](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/theaxe/32/53573_2.png) [@theaxe](https://discuss.elastic.co/u/theaxe)
#### Post date: [September 4, 2019, 8:28am UTC](https://discuss.elastic.co/t/problem-connecting-kibana-to-remote-es-cluster/198004/1 "2019-09-04T08:28:21Z")

</div>

Hi y'all

I'm kinda new to ELK and trying to setup an environment to monitor my ES "version 2.4" cluster.

My environment consists of a cluster of 3 nodes, production, then a server running Kibana, and Logstash n Beats.

On the machine running Kibana i have installed ES "version 6.8.2" to test out the environment and kibana has no issues accessing it from `elk.XXX.XXX.XXX.XXX.xip.io`, however once i change the `elasticsearch.hosts: ["http://YYY.YYY.YYY.YYY:9200"]`, this is my production server local IP address which is in the same network as kibana server, under `kibana.yml`, i get the message saying `Kibana server is not ready yet`.

I'm using NGINX to proxy the server.

Would appreciate if anyone could shed some light on my path.

Thanks

---

<div class="post-metadata">

### Author: ![Aaron\_Caldwell](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/aaron_caldwell/32/45755_2.png) [@Aaron\_Caldwell](https://discuss.elastic.co/u/Aaron_Caldwell)
#### Post date: [September 4, 2019, 8:33pm UTC](https://discuss.elastic.co/t/problem-connecting-kibana-to-remote-es-cluster/198004/2 "2019-09-04T20:33:03Z")

</div>

Hello Alex,

Have you exposed port 9200 on your production server hosting Elasticsearch? What happens when you run the following command from your Kibana host using your server's ip address?

```auto
curl -X GET "<server ip address>:9200/_cat/health?v&pretty"

```

Regards,  
Aaron

---

<div class="post-metadata">

### Author: ![theaxe](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/theaxe/32/53573_2.png) [@theaxe](https://discuss.elastic.co/u/theaxe)
#### Post date: [September 5, 2019, 4:04am UTC](https://discuss.elastic.co/t/problem-connecting-kibana-to-remote-es-cluster/198004/3 "2019-09-05T04:04:31Z")

</div>

Hello Aaron

Thanks for you response.  
I believe i got this part right, nonetheless here is the result of curl:

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/7/0/708bafed46c5e9e39bf8ecd86e9d5f1d63114f01.png)

---

<div class="post-metadata">

### Author: ![theaxe](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/theaxe/32/53573_2.png) [@theaxe](https://discuss.elastic.co/u/theaxe)
#### Post date: [September 10, 2019, 3:17am UTC](https://discuss.elastic.co/t/problem-connecting-kibana-to-remote-es-cluster/198004/4 "2019-09-10T03:17:24Z")

</div>

Could the version of it be the cause?  
My ES is ver 2.4 as for the rest of the stack I installed the latest

---

<div class="post-metadata">

### Author: ![anon42972578](https://avatars.discourse-cdn.com/v4/letter/a/da6949/32.png) [@anon42972578](https://discuss.elastic.co/u/anon42972578)
#### Post date: [September 10, 2019, 11:07am UTC](https://discuss.elastic.co/t/problem-connecting-kibana-to-remote-es-cluster/198004/5 "2019-09-10T11:07:14Z")

</div>

as far as i know:  
best practice is to upgrade ES always first. When ES is 2.4 , Kibana should be 2.4 or lower.

the different between 2.4 and 6.8.2 is huge 😮

---

<div class="post-metadata">

### Author: ![theaxe](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/theaxe/32/53573_2.png) [@theaxe](https://discuss.elastic.co/u/theaxe)
#### Post date: [September 10, 2019, 12:02pm UTC](https://discuss.elastic.co/t/problem-connecting-kibana-to-remote-es-cluster/198004/6 "2019-09-10T12:02:28Z")

</div>

I know, but I'm using the type feature whis is deprecated in 5.2 and above, if I upgrade I'll be royally doomed, I'm trying to upgrade to 5.2 and retry the whole process again

---

<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: [October 8, 2019, 12:02pm UTC](https://discuss.elastic.co/t/problem-connecting-kibana-to-remote-es-cluster/198004/7 "2019-10-08T12:02:31Z")

</div>

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