# Not able to access kibana UI hosted on aws

**URL:** <https://discuss.elastic.co/t/not-able-to-access-kibana-ui-hosted-on-aws/238956>\
**Category:** Kibana\
**Created:** [June 27, 2020, 3:46pm UTC](https://discuss.elastic.co/t/not-able-to-access-kibana-ui-hosted-on-aws/238956 "2020-06-27T15:46:48Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![pathri](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pathri/32/54484_2.png) [@pathri](https://discuss.elastic.co/u/pathri)\
**Post date:** [June 27, 2020, 3:46pm UTC](https://discuss.elastic.co/t/not-able-to-access-kibana-ui-hosted-on-aws/238956/1 "2020-06-27T15:46:48Z")

</div>

kibana is running on a server on AWS (ELK is also on the same server)  
but i am not able to access it on UI.

It's public DNS : [ec2-13-126-209-194.ap-south-1.compute.amazonaws.com](http://ec2-13-126-209-194.ap-south-1.compute.amazonaws.com)  
private IP: 172.31.4.164

i am trying hitting URL [ec2-13-126-209-194.ap-south-1.compute.amazonaws.com:5601](http://ec2-13-126-209-194.ap-south-1.compute.amazonaws.com:5601)

tried with  
172.31.4.164:5601 also but nothing coming up.

please help me in finding out where i am going wrong?

IGW is there on this instance and both inbound and outbound rules are open for `0.0.0.0/0::/0`

thanks in advacnce

---

<div class="post-metadata">

**Author:** ![flash1293](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/flash1293/32/41227_2.png) [@flash1293](https://discuss.elastic.co/u/flash1293)\
**Post date:** [June 29, 2020, 8:59am UTC](https://discuss.elastic.co/t/not-able-to-access-kibana-ui-hosted-on-aws/238956/2 "2020-06-29T08:59:58Z")

</div>

You might need to set the `server.host` setting: [https://www.elastic.co/guide/en/kibana/current/settings.html](https://www.elastic.co/guide/en/kibana/current/settings.html)

By default it's set to `localhost`.

If you want to expose your Kibana instance to the public, make sure to have a security solution and a save password in place.

---

<div class="post-metadata">

**Author:** ![pathri](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pathri/32/54484_2.png) [@pathri](https://discuss.elastic.co/u/pathri)\
**Post date:** [June 30, 2020, 3:14pm UTC](https://discuss.elastic.co/t/not-able-to-access-kibana-ui-hosted-on-aws/238956/3 "2020-06-30T15:14:54Z")

</div>

i don't understand after a restart it started working on this.  
thanks 🙂

can you please help me in understanding the same thing in a cluster.

say i have a cluster of  
dn-1(1.1.1.1)  
dn-2(2.2.2.2)  
dn-3(3.3.3.3)  
m-1(4.4.4.4)  
m-2(5.5.5.5)  
m-3(6.6.6.6.)  
cl-1(7.7.7.7)

what should be this server.host parameter's value ?

---

<div class="post-metadata">

**Author:** ![flash1293](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/flash1293/32/41227_2.png) [@flash1293](https://discuss.elastic.co/u/flash1293)\
**Post date:** [June 30, 2020, 3:39pm UTC](https://discuss.elastic.co/t/not-able-to-access-kibana-ui-hosted-on-aws/238956/4 "2020-06-30T15:39:20Z")

</div>

In your cluster are you running multiple Kibana instances or multiple Elasticsearch instances? If it's just multiple Elasticsearch instances, this doesn't influence the `server.host` setting.

It's always possible to set it to `0.0.0.0`, then it will respond to any request that reaches the server.

---

<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:** [July 28, 2020, 3:39pm UTC](https://discuss.elastic.co/t/not-able-to-access-kibana-ui-hosted-on-aws/238956/5 "2020-07-28T15:39:22Z")

</div>

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