# Elasticsearch on-premise (docker) is not loading: "Can't reach this page"

**URL:** <https://discuss.elastic.co/t/elasticsearch-on-premise-docker-is-not-loading-cant-reach-this-page/360340>\
**Category:** Endpoint Security\
**Tags:** docker\
**Created:** [May 28, 2024, 6:27am UTC](https://discuss.elastic.co/t/elasticsearch-on-premise-docker-is-not-loading-cant-reach-this-page/360340 "2024-05-28T06:27:51Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![zbeedatm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/zbeedatm/32/123249_2.png) [@zbeedatm](https://discuss.elastic.co/u/zbeedatm)\
**Post date:** [May 28, 2024, 6:27am UTC](https://discuss.elastic.co/t/elasticsearch-on-premise-docker-is-not-loading-cant-reach-this-page/360340/1 "2024-05-28T06:27:51Z")

</div>

I'm trying to run elasticsearch locally, so I had installed docker then deployed elasticsearch image.

But I'm getting" "Cannot reach this page" when loading it. (the docker itself is running, but the web interface is not accessable)

I adding localhost to elasticsearch.yml

I tried to change some values in config jvm.options  
I had tried enabling:

-Xms4g

-Xmx4g

or increasing the memory in:  
Xlog:gc\*,gc+age=trace,safepoint:file=logs/gc.log:utctime,level,pid,tags:filecount=32,filesize=64m

didn't help too!

---

<div class="post-metadata">

**Author:** ![leandrojmp](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/leandrojmp/32/107231_2.png) [@leandrojmp](https://discuss.elastic.co/u/leandrojmp)\
**Post date:** [May 28, 2024, 12:48pm UTC](https://discuss.elastic.co/t/elasticsearch-on-premise-docker-is-not-loading-cant-reach-this-page/360340/2 "2024-05-28T12:48:36Z")

</div>

Hello and welcome,

You need to provide more information.

Are you using docker compose? What does your compose looks like? Please share your compose or the cli you are using to start your cluster.

> [@zbeedatm](#):
>
> I adding localhost to elasticsearch.yml

Where? localhost means that it will only be accessible from where it is running, if it is running on a container, it will not be accessible by external containers.

> [@zbeedatm](#):
>
> the docker itself is running, but the web interface is not accessable

You mean Kibana? Elasticsearch does not have a web interface, the web interface is done using Kibana, which is another different tool.

---

<div class="post-metadata">

**Author:** ![zbeedatm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/zbeedatm/32/123249_2.png) [@zbeedatm](https://discuss.elastic.co/u/zbeedatm)\
**Post date:** [May 28, 2024, 5:14pm UTC](https://discuss.elastic.co/t/elasticsearch-on-premise-docker-is-not-loading-cant-reach-this-page/360340/3 "2024-05-28T17:14:56Z")

</div>

Hi,  
I'm using docker desktop, on my Mac machine, this is my localhost.  
I meant by the web interface: localhost:9200, localhost:9300

see attached screenshot

 ![Screenshot 2024-05-26 at 13.12.08 (1)](https://us1.discourse-cdn.com/elastic/original/3X/6/5/659a0ada7f844e1768b9814daafbd048ced27545.png)

---

<div class="post-metadata">

**Author:** ![leandrojmp](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/leandrojmp/32/107231_2.png) [@leandrojmp](https://discuss.elastic.co/u/leandrojmp)\
**Post date:** [May 28, 2024, 7:31pm UTC](https://discuss.elastic.co/t/elasticsearch-on-premise-docker-is-not-loading-cant-reach-this-page/360340/4 "2024-05-28T19:31:59Z")

</div>

You need to share the entire `elasticsearch.yml`, it is not clear if you set it right.

You need to set `network.host` to `0.0.0.0`, if you set it to `localhost` this means that you cannot access it from outside the container.

It is also not clear what you tried to access, did you use `http` or `https` ? You need to use `https`.

Keep in mind that port `9200` is not a web interface, is the API endpoint of Elasticsearch.

---

<div class="post-metadata">

**Author:** ![zbeedatm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/zbeedatm/32/123249_2.png) [@zbeedatm](https://discuss.elastic.co/u/zbeedatm)\
**Post date:** [May 29, 2024, 1:29pm UTC](https://discuss.elastic.co/t/elasticsearch-on-premise-docker-is-not-loading-cant-reach-this-page/360340/5 "2024-05-29T13:29:06Z")

</div>

Thanks, managed connecting using https.

I was using Pinecone as a vectore store, and creating indices, viewing the vectors etc. is reflected/managed by a GUI, so I had an expectation that I'll have the same.

But I found a browser extension "elasticvue" that might be good enough for that purpose:

 ![Screenshot 2024-05-29 at 16.23.04](https://us1.discourse-cdn.com/elastic/original/3X/5/5/552146c63a7cae716c698c9200182a5597fbfc51.png)

---

<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 26, 2024, 1:30pm UTC](https://discuss.elastic.co/t/elasticsearch-on-premise-docker-is-not-loading-cant-reach-this-page/360340/6 "2024-06-26T13:30:00Z")

</div>

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