# How to setup 2ES Instances (localhost different ports) on single kibana same pc

**URL:** https://discuss.elastic.co/t/how-to-setup-2es-instances-localhost-different-ports-on-single-kibana-same-pc/310463
**Category:** Elasticsearch
**Created:** [July 23, 2022, 7:51pm UTC](https://discuss.elastic.co/t/how-to-setup-2es-instances-localhost-different-ports-on-single-kibana-same-pc/310463 "2022-07-23T19:51:08Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![rizawk](https://avatars.discourse-cdn.com/v4/letter/r/b5ac83/32.png) [@rizawk](https://discuss.elastic.co/u/rizawk)
#### Post date: [July 23, 2022, 7:51pm UTC](https://discuss.elastic.co/t/how-to-setup-2es-instances-localhost-different-ports-on-single-kibana-same-pc/310463/1 "2022-07-23T19:51:08Z")

</div>

I am newbie and have setup 2ES instances on localhost using different ports 9200 and 7200 both my instances are running and I can see them in browser on respective ports, how can I point both ports to use single kibana

I am able to browse default 9200 on kibana port 5601 but the 7200 does not shows up  
What am I missing here

Any suggestions will highly be appreciated

---

<div class="post-metadata">

### Author: ![stephenb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stephenb/32/40856_2.png) [@stephenb](https://discuss.elastic.co/u/stephenb)
#### Post date: [July 23, 2022, 8:36pm UTC](https://discuss.elastic.co/t/how-to-setup-2es-instances-localhost-different-ports-on-single-kibana-same-pc/310463/2 "2022-07-23T20:36:48Z")

</div>

Hi @rizawk Welcome to the community!

You can't... Kibana can only be connected to a single cluster at a time... Each of your elasticsearch instances are actually 2 separate 1 node elasticsearch clusters.

You would need to install 2 separate Kibana installs on 2 separate ports.. and point 1 each to 1 of the ES nodes

---

<div class="post-metadata">

### Author: ![rizawk](https://avatars.discourse-cdn.com/v4/letter/r/b5ac83/32.png) [@rizawk](https://discuss.elastic.co/u/rizawk)
#### Post date: [July 23, 2022, 9:10pm UTC](https://discuss.elastic.co/t/how-to-setup-2es-instances-localhost-different-ports-on-single-kibana-same-pc/310463/3 "2022-07-23T21:10:44Z")

</div>

Thanks Stephen for clarifying and guideance

---

<div class="post-metadata">

### Author: ![rizawk](https://avatars.discourse-cdn.com/v4/letter/r/b5ac83/32.png) [@rizawk](https://discuss.elastic.co/u/rizawk)
#### Post date: [July 24, 2022, 1:32pm UTC](https://discuss.elastic.co/t/how-to-setup-2es-instances-localhost-different-ports-on-single-kibana-same-pc/310463/4 "2022-07-24T13:32:26Z")

</div>

After running 2 separate kibanas it worked  
Thanks

---

<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: [August 21, 2022, 1:33pm UTC](https://discuss.elastic.co/t/how-to-setup-2es-instances-localhost-different-ports-on-single-kibana-same-pc/310463/5 "2022-08-21T13:33:24Z")

</div>

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