# Can't connect to Enterprise search

**URL:** <https://discuss.elastic.co/t/cant-connect-to-enterprise-search/292762>\
**Category:** Elastic Search\
**Tags:** elastic-app-search\
**Created:** [December 23, 2021, 6:00am UTC](https://discuss.elastic.co/t/cant-connect-to-enterprise-search/292762 "2021-12-23T06:00:28Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Frank\_Kuo](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/frank_kuo/32/90467_2.png) [@Frank\_Kuo](https://discuss.elastic.co/u/Frank_Kuo)\
**Post date:** [December 23, 2021, 6:00am UTC](https://discuss.elastic.co/t/cant-connect-to-enterprise-search/292762/1 "2021-12-23T06:00:28Z")

</div>

Hello everyone,

I installed the enterprise-search plugin @7.16.1.  
The enterprise-search service is started without error.  
But my Kibana still show " Unable to connect ".

I have no idea. Anybody can help?

{ELKM3}elasticsearch.yml:

```auto
node.name: ELKM3
node.master: true
bootstrap.memory_lock: true
network.host: 172.20.21.3
cluster.initial_master_nodes: ELKM1

xpack.security.enabled: true
xpack.security.authc.api_key.enabled: true
xpack.license.self_generated.type: basic
xpack.security.transport.ssl.enabled: true
action.auto_create_index: ".app-search-*-logs-*,-.app-search-*,+*"

```

kibana.yml:

```auto
elasticsearch.hosts: ["https://ELKM1:9200"]
server.publicBaseUrl: "https://ELKK1:5601"
enterpriseSearch.host: https://ELKM3:3002

```

enterprise-search.yml:

```auto
ent_search.external_url: https://ELKM3:3002
ent_search.listen_host: 172.20.21.3
ent_search.listen_port: 3002
ent_search.auth.<auth_name>.source: standard

```

enterprise-search run status:

```auto
* enterprise-search.service - Elastic Enterprise Search
   Loaded: loaded (/usr/lib/systemd/system/enterprise-search.service; disabled; vendor preset: enabled)
   Active: active (running) since Thu 2021-12-23 13:48:06 CST; 13min ago
     Docs: https://www.elastic.co/guide/en/enterprise-search/current/index.html
 Main PID: 11438 (java)
    Tasks: 55 (limit: 4915)
   CGroup: /system.slice/enterprise-search.service
           |-11438 java -cp /usr/share/enterprise-search/lib/war/lib/jruby-stdlib-9.2.13.0.jar:/usr/share/enterprise-search/lib/war/lib/jruby-core-9.2.13.0-complete.jar -Dsun.jnu.encoding=UTF-8 -Dfile.encod
           `-11576 /usr/share/enterprise-search/bin/vendor/filebeat/filebeat-linux-x86_64 -v --path.config=/tmp --c=ent-search-filebeat.yml

Dec 23 13:48:06 ELKM3 enterprise-search[11438]: Found java executable in PATH
Dec 23 13:48:06 ELKM3 enterprise-search[11438]: Java version detected: 1.8.0_265 (major version: 8)
Dec 23 13:48:06 ELKM3 enterprise-search[11438]: Enterprise Search is starting...
Dec 23 13:48:06 ELKM3 enterprise-search[11438]: Logs can be found in the location configured via the 'log_directory' setting (typically /var/log/enterprise-search)
Dec 23 13:48:17 ELKM3 enterprise-search[11438]: *** [DEPRECATION WARNING] The auth source 'standard' is deprecated and will be removed in version '8.0.0'.
Dec 23 13:48:29 ELKM3 enterprise-search[11438]: 2021-12-23 13:48:29.689:INFO::main: Logging initialized @22702ms to org.eclipse.jetty.util.log.StdErrLog
Dec 23 13:48:30 ELKM3 enterprise-search[11438]: 2021-12-23 13:48:30.041:INFO:oejs.Server:main: jetty-9.4.43.v20210629; built: 2021-06-30T11:07:22.254Z; git: 526006ecfa3af7f1a27ef3a288e2b
Dec 23 13:48:30 ELKM3 enterprise-search[11438]: 2021-12-23 13:48:30.074:INFO:oejsh.ContextHandler:main: Started o.e.j.s.ServletContextHandler@105637ea{/,file:///usr/share/enterprise-sear
Dec 23 13:48:30 ELKM3 enterprise-search[11438]: 2021-12-23 13:48:30.095:INFO:oejs.AbstractConnector:main: Started ServerConnector@52f93a84{HTTP/1.1, (http/1.1)}{172.20.21.3:3002}
Dec 23 13:48:30 ELKM3 enterprise-search[11438]: 2021-12-23 13:48:30.095:INFO:oejs.Server:main: Started @23108ms

```

---

<div class="post-metadata">

**Author:** ![Mark\_Hoy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mark_hoy/32/99384_2.png) [@Mark\_Hoy](https://discuss.elastic.co/u/Mark_Hoy)\
**Post date:** [December 25, 2021, 4:44pm UTC](https://discuss.elastic.co/t/cant-connect-to-enterprise-search/292762/2 "2021-12-25T16:44:44Z")

</div>

Hi Frank\_Kuo -

In the Enterprise Search configuration, do you have the `kibana.host` setting configured correctly? See the [settings configuration guide](https://www.elastic.co/guide/en/enterprise-search/7.16/configuration.html#configuration-settings-kibana) for more as well.

---

<div class="post-metadata">

**Author:** ![Frank\_Kuo](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/frank_kuo/32/90467_2.png) [@Frank\_Kuo](https://discuss.elastic.co/u/Frank_Kuo)\
**Post date:** [December 27, 2021, 5:25am UTC](https://discuss.elastic.co/t/cant-connect-to-enterprise-search/292762/3 "2021-12-27T05:25:32Z")

</div>

Thanks for your replaying.

Yes, sure.  
enterprise-search.yml:

```auto
# ---------------------------------- Kibana -----------------------------------
#
# The primary URL at which users interact with Kibana. This is used when
# Enterprise Search links users to Kibana.
#
kibana.host: https://ELKK1:5601
#
# Define the exposed URL at which users will reach Kibana.
# Defaults to kibana.host
#
kibana.external_url: https://ELKK1:5601

```

enterprise-search run status:

```auto
#########################################################

Success! Elastic Enterprise Search is starting successfully.

In a few moments, you'll be able to access Enterprise Search from Kibana at the following address:

* URL: https://ELKK1:5601/app/enterprise_search/overview

  * If this is your first time starting Enterprise Search, check the console output above for your user authentication credentials.
  * Visit the documentation: https://www.elastic.co/guide/en/enterprise-search/7.16/index.html

Secret session key has been generated.

Set the key in your config file to persist user sessions through process restarts:

secret_session_key: 9ee7200057e00ed2baafe9b8

#########################################################

```

But, it still unable to connect my Kibana. T\_T

---

<div class="post-metadata">

**Author:** ![Frank\_Kuo](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/frank_kuo/32/90467_2.png) [@Frank\_Kuo](https://discuss.elastic.co/u/Frank_Kuo)\
**Post date:** [January 7, 2022, 1:06am UTC](https://discuss.elastic.co/t/cant-connect-to-enterprise-search/292762/5 "2022-01-07T01:06:43Z")

</div>

help...pleasee 😭

---

<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:** [February 4, 2022, 1:06am UTC](https://discuss.elastic.co/t/cant-connect-to-enterprise-search/292762/6 "2022-02-04T01:06:54Z")

</div>

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