# I was deploying docker and ran into a problem, unable to access port 3002

**URL:** <https://discuss.elastic.co/t/i-was-deploying-docker-and-ran-into-a-problem-unable-to-access-port-3002/343197>\
**Category:** Elastic Search\
**Tags:** docker, elastic-app-search\
**Created:** [September 17, 2023, 2:58pm UTC](https://discuss.elastic.co/t/i-was-deploying-docker-and-ran-into-a-problem-unable-to-access-port-3002/343197 "2023-09-17T14:58:02Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![qinskysky](https://avatars.discourse-cdn.com/v4/letter/q/6de8d8/32.png) [@qinskysky](https://discuss.elastic.co/u/qinskysky)\
**Post date:** [September 17, 2023, 2:58pm UTC](https://discuss.elastic.co/t/i-was-deploying-docker-and-ran-into-a-problem-unable-to-access-port-3002/343197/1 "2023-09-17T14:58:02Z")

</div>

Add the Enterprise Search host URL to the Kibana configuration  
In the config/kibana.yml file, set enterpriseSearch.host to the URL of the Enterprise Search instance. For example:

enterpriseSearch.host: '[http://localhost:3002](http://localhost:3002)'

I installed Elasticsearchedit and kibana and accessed the enterprise search prompt settings of the kibana panel, but I didn't seem to find the service port at all. Is there something wrong with my settings?

Version 8.9.2

---

<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 17, 2023, 4:24pm UTC](https://discuss.elastic.co/t/i-was-deploying-docker-and-ran-into-a-problem-unable-to-access-port-3002/343197/2 "2023-09-17T16:24:12Z")

</div>

Typically, “localhost” in docker is only available inside that container, but not outside the container. You’d need to expose a host through the host gateway. Depending on your docker implementation, there may be a default. For example, on Mac’s Docker Desktop, you can use “host.docker.internal” to reference the host that the container is running on.

---

<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 17, 2023, 4:26pm UTC](https://discuss.elastic.co/t/i-was-deploying-docker-and-ran-into-a-problem-unable-to-access-port-3002/343197/3 "2023-09-17T16:26:59Z")

</div>

Alternatively, you can create a network, or reference the service by its name rather than host. Check out these docs: [Run Enterprise Search server using Docker images | Enterprise Search documentation [8.9] | Elastic](https://www.elastic.co/guide/en/enterprise-search/current/docker.html)

---

<div class="post-metadata">

**Author:** ![qinskysky](https://avatars.discourse-cdn.com/v4/letter/q/6de8d8/32.png) [@qinskysky](https://discuss.elastic.co/u/qinskysky)\
**Post date:** [September 18, 2023, 12:09am UTC](https://discuss.elastic.co/t/i-was-deploying-docker-and-ran-into-a-problem-unable-to-access-port-3002/343197/4 "2023-09-18T00:09:26Z")

</div>

Thanks. What I tried to deploy was the normal version of Elasticsearch and the corresponding Kibana.

[https://www.elastic.co/guide/en/elasticsearch/reference/current/docker.html](https://www.elastic.co/guide/en/elasticsearch/reference/current/docker.html)

Do I need to delete the regular version and redeploy the enterprise version of es?

Because of Kibana8.9.2, I didn’t find a way to use the regular version directly.It worked before. But reinstalled. I lost past steps.

Do I need to deploy an integration to switch it from the Enterprise Edition to the Standard Edition? It seems to me that the regular version does not have 3002?

==  
Or is it that Kibana can only be adapted to enterprise version search, and ordinary ones cannot be adapted?

# But it seems that the linkware was successfully enabled before. [https://www.elastic.co/guide/en/enterprise-search/8.10/sync-rules.html](https://www.elastic.co/guide/en/enterprise-search/8.10/sync-rules.html)

Do I have to use Enterprise Edition to configure 3002 correctly?

thank you. i am a newbie

---

<div class="post-metadata">

**Author:** ![qinskysky](https://avatars.discourse-cdn.com/v4/letter/q/6de8d8/32.png) [@qinskysky](https://discuss.elastic.co/u/qinskysky)\
**Post date:** [September 18, 2023, 12:10am UTC](https://discuss.elastic.co/t/i-was-deploying-docker-and-ran-into-a-problem-unable-to-access-port-3002/343197/5 "2023-09-18T00:10:08Z")

</div>

thank you.

---

<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 18, 2023, 4:48pm UTC](https://discuss.elastic.co/t/i-was-deploying-docker-and-ran-into-a-problem-unable-to-access-port-3002/343197/6 "2023-09-18T16:48:11Z")

</div>

Hi @qinskysky ,

I think there's some confusion here about the different products you're working with.

Elasticsearch ([docker instructions](https://www.elastic.co/guide/en/elasticsearch/reference/current/docker.html)) is a storage backend. It is its own service. Its commonly used port is 9200.

Elastic Enterprise Search ([docker instructions](https://www.elastic.co/guide/en/enterprise-search/current/docker.html)) is built _on top of_ Elasticsearch, and is the service that provides Elastic App Search. It exposes port 3002. In order to use Elastic Enterprise Search, it _must_ be able to connect to a running instance of Elasticsearch.

Elasticsearch has several license levels - Basic (free), Gold, Platinum, and Enterprise. Confusingly, Enterprise Elasticsearch (license) is _totally unrelated to_ Elastic Enterprise Search, despite the similarity in naming. Sorry about that 🙈 .

All the docker guides provide examples, but are just that - examples. While they might showcase different configurations or approaches, they should all be using the same "versions" of these products.

- Elasticsearch image: `docker.elastic.co/elasticsearch/elasticsearch:<version>`
- Enterprise Search image: `docker.elastic.co/enterprise-search/enterprise-search:<version>`
- Kibana image: `docker.elastic.co/kibana/kibana:<version>`

I hope that helps. 🙂

---

<div class="post-metadata">

**Author:** ![qinskysky](https://avatars.discourse-cdn.com/v4/letter/q/6de8d8/32.png) [@qinskysky](https://discuss.elastic.co/u/qinskysky)\
**Post date:** [September 19, 2023, 12:18am UTC](https://discuss.elastic.co/t/i-was-deploying-docker-and-ran-into-a-problem-unable-to-access-port-3002/343197/7 "2023-09-19T00:18:07Z")

</div>

Thanks. When I was using 8.9.2 Mulan, the search inside was enterprise search. I don't know how to change it to a normal search. Currently 10.1, the search is displayed directly after installation.

problem solved.

---

<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 17, 2023, 12:18am UTC](https://discuss.elastic.co/t/i-was-deploying-docker-and-ran-into-a-problem-unable-to-access-port-3002/343197/8 "2023-10-17T00:18:12Z")

</div>

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