# Want to open kibana on ip:port/app

**URL:** <https://discuss.elastic.co/t/want-to-open-kibana-on-ip-port-app/231487>\
**Category:** Kibana\
**Created:** [May 7, 2020, 8:35am UTC](https://discuss.elastic.co/t/want-to-open-kibana-on-ip-port-app/231487 "2020-05-07T08:35:24Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dragon9](https://avatars.discourse-cdn.com/v4/letter/d/7bcc69/32.png) [@Dragon9](https://discuss.elastic.co/u/Dragon9)\
**Post date:** [May 7, 2020, 8:35am UTC](https://discuss.elastic.co/t/want-to-open-kibana-on-ip-port-app/231487/1 "2020-05-07T08:35:24Z")

</div>

currently when i enter ip:nodeport the kibana opens and redirect to login page

but my requirement is to restrict kibana to open on ip:nodeport/app

---

<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:** [May 7, 2020, 8:43am UTC](https://discuss.elastic.co/t/want-to-open-kibana-on-ip-port-app/231487/2 "2020-05-07T08:43:28Z")

</div>

To do this you have to put Kibana behind a reverse proxy (e.g. apache or nginx) doing this kind of forwarding and then setting the yml setting `server.basePath` to the same value.

---

<div class="post-metadata">

**Author:** ![Dragon9](https://avatars.discourse-cdn.com/v4/letter/d/7bcc69/32.png) [@Dragon9](https://discuss.elastic.co/u/Dragon9)\
**Post date:** [May 7, 2020, 8:48am UTC](https://discuss.elastic.co/t/want-to-open-kibana-on-ip-port-app/231487/3 "2020-05-07T08:48:12Z")

</div>

thanks for your fast reply to this question.  
can you please elaborate how to do setting in kibana.yml  
please provide dummy values for "server.basePath"

---

<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:** [May 7, 2020, 8:49am UTC](https://discuss.elastic.co/t/want-to-open-kibana-on-ip-port-app/231487/4 "2020-05-07T08:49:40Z")

</div>

It's all explained fairly well here: [https://www.elastic.co/guide/en/kibana/current/settings.html](https://www.elastic.co/guide/en/kibana/current/settings.html)

The base path is the path Kibana is available on, in case of your example `app`.

---

<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:** [June 4, 2020, 8:49am UTC](https://discuss.elastic.co/t/want-to-open-kibana-on-ip-port-app/231487/5 "2020-06-04T08:49:50Z")

</div>

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