# When access to enterprise search it automatically redirect to kibana

**URL:** <https://discuss.elastic.co/t/when-access-to-enterprise-search-it-automatically-redirect-to-kibana/313656>\
**Category:** Elastic Search\
**Created:** [September 5, 2022, 8:05am UTC](https://discuss.elastic.co/t/when-access-to-enterprise-search-it-automatically-redirect-to-kibana/313656 "2022-09-05T08:05:01Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![MaralErdene\_Tumursuh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/maralerdene_tumursuh/32/73137_2.png) [@MaralErdene\_Tumursuh](https://discuss.elastic.co/u/MaralErdene_Tumursuh)\
**Post date:** [September 5, 2022, 8:05am UTC](https://discuss.elastic.co/t/when-access-to-enterprise-search-it-automatically-redirect-to-kibana/313656/1 "2022-09-05T08:05:01Z")

</div>

Hello,

I installed enterprise search on premise. Then access to http://my\_ip:3002 it redirect to kibana. My kibana installed another server. Is there any config i missed?

My enterprise-search.yml has below config.

```
  allow_es_settings_modification: true
  elasticsearch.host: http://my_ip:9200
  elasticsearch.username: elastic
  elasticsearch.password: mypass
  ent_search.listen_host: 0.0.0.0
 ent_search.external_url: http://my_ext_ip:3002
secret_management.encryption_keys: [secret_key]

```

Also, my console error is:

```
   Redirected to http://my_ext_ip:3002/ws/search    
    ----------
   ---------
  Completed 401 Unauthorized in 31ms
  Redirected to http://localhost:5601/app/enterprise_search/workplace_search/p/authorize_search?

```

---

<div class="post-metadata">

**Author:** ![MaralErdene\_Tumursuh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/maralerdene_tumursuh/32/73137_2.png) [@MaralErdene\_Tumursuh](https://discuss.elastic.co/u/MaralErdene_Tumursuh)\
**Post date:** [September 6, 2022, 2:52am UTC](https://discuss.elastic.co/t/when-access-to-enterprise-search-it-automatically-redirect-to-kibana/313656/2 "2022-09-06T02:52:26Z")

</div>

I just observed that firstly it redirect to http://my\_ext\_ip:3002/ws/search then again redirect to [http://localhost:5601](http://localhost:5601) . I've no idea why it redirect to /ws/search. But i still can not found a solution.

---

<div class="post-metadata">

**Author:** ![Sean\_Story](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sean_story/32/69987_2.png) [@Sean\_Story](https://discuss.elastic.co/u/Sean_Story)\
**Post date:** [September 7, 2022, 6:01pm UTC](https://discuss.elastic.co/t/when-access-to-enterprise-search-it-automatically-redirect-to-kibana/313656/3 "2022-09-07T18:01:58Z")

</div>

Hi @MaralErdene_Tumursuh

Looks like you need to configure your Kibana settings for Enterprise Search: [Configuration | Elastic Enterprise Search documentation [8.4] | Elastic](https://www.elastic.co/guide/en/enterprise-search/current/configuration.html#configuration-settings-kibana)

You will also need to configure your Enterprise Search settings for Kibana: [Enterprise Search settings in Kibana | Kibana Guide [8.4] | Elastic](https://www.elastic.co/guide/en/kibana/current/enterprise-search-settings-kb.html)

Your confusion at the redirect to Kibana makes me think you may have just upgraded versions. In older versions, the UI for Enterprise Search was baked into the Enterprise Search Server. In modern versions, these management UIs have moved to Kibana, so you are automatically redirected there. Be sure to read any release notes when you upgrade versions, to avoid these sorts of surprises. 🙂

---

<div class="post-metadata">

**Author:** ![MaralErdene\_Tumursuh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/maralerdene_tumursuh/32/73137_2.png) [@MaralErdene\_Tumursuh](https://discuss.elastic.co/u/MaralErdene_Tumursuh)\
**Post date:** [September 9, 2022, 3:57am UTC](https://discuss.elastic.co/t/when-access-to-enterprise-search-it-automatically-redirect-to-kibana/313656/4 "2022-09-09T03:57:45Z")

</div>

Hi @Sean_Story thank you for your answer. I got it.

---

<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 7, 2022, 3:58am UTC](https://discuss.elastic.co/t/when-access-to-enterprise-search-it-automatically-redirect-to-kibana/313656/5 "2022-10-07T03:58:22Z")

</div>

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