# It shows sucessfully run but unable to access it

**URL:** <https://discuss.elastic.co/t/it-shows-sucessfully-run-but-unable-to-access-it/368937>\
**Category:** Elasticsearch\
**Created:** [October 16, 2024, 6:41pm UTC](https://discuss.elastic.co/t/it-shows-sucessfully-run-but-unable-to-access-it/368937 "2024-10-16T18:41:20Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![shamir](https://avatars.discourse-cdn.com/v4/letter/s/c57346/32.png) [@shamir](https://discuss.elastic.co/u/shamir)\
**Post date:** [October 16, 2024, 6:41pm UTC](https://discuss.elastic.co/t/it-shows-sucessfully-run-but-unable-to-access-it/368937/1 "2024-10-16T18:41:20Z")

</div>

This category relates to the [Enterprise Search](https://www.elastic.co/enterprise-search) set of products - App Search, Site Search and Workplace Search.  
If your question relates to core Elasticsearch functionality, please head over to the #Elasticsearch category for assistance.

_PS - Please delete this text before posting your topic_

```auto
● elasticsearch-instance-1.service - Elasticsearch
     Loaded: loaded (/etc/systemd/system/elasticsearch-instance-1.service; enabled; vendor preset: enabled)
     Active: active (running) since Wed 2024-10-16 23:39:14 +0530; 29min ago
       Docs: https://www.elastic.co
   Main PID: 20722 (java)
      Tasks: 83 (limit: 18843)
     Memory: 7.9G
        CPU: 54.352s
     CGroup: /system.slice/elasticsearch-instance-1.service
             ├─20722 /usr/share/elasticsearch/jdk/bin/java -Xms4m -Xmx64m -XX:+UseSerialGC -Dcli.name=server -Dcli.script=/usr/share/elasticsearch/bin/elasticsearch -Dcli.libs=lib/tools/server-cli -Des.p>
             ├─20782 /usr/share/elasticsearch/jdk/bin/java -Des.networkaddress.cache.ttl=60 -Des.networkaddress.cache.negative.ttl=10 -Djava.security.manager=allow -XX:+AlwaysPreTouch -Xss1m -Djava.awt.h>
             └─20808 /usr/share/elasticsearch/modules/x-pack-ml/platform/linux-x86_64/bin/controller

Oct 16 23:38:58 jayeesha-ThinkBook-14-G2-ITL-Ub systemd[1]: Starting Elasticsearch...
Oct 16 23:39:00 jayeesha-ThinkBook-14-G2-ITL-Ub elasticsearch[20722]: Oct 16, 2024 11:39:00 PM sun.util.locale.provider.LocaleProviderAdapter <clinit>
Oct 16 23:39:00 jayeesha-ThinkBook-14-G2-ITL-Ub elasticsearch[20722]: WARNING: COMPAT locale provider will be removed in a future release
Oct 16 23:39:14 jayeesha-ThinkBook-14-G2-ITL-Ub systemd[1]: Started Elasticsearch.

curl -X GET "localhost:9200"
curl: (52) Empty reply from server

```

my service file looks like this

```auto
NotifyAccess=all
RuntimeDirectory=elasticsearch
PrivateTmp=true
Environment=ES_HOME=/usr/share/elasticsearch
Environment=ES_PATH_CONF=/etc/elasticsearch-instance-1
Environment=PID_DIR=/var/run/elasticsearch
Environment=ES_SD_NOTIFY=true
EnvironmentFile=-/etc/default/elasticsearch

WorkingDirectory=/usr/share/elasticsearch

User=elasticsearch
Group=elasticsearch

#ExecStart=/usr/share/elasticsearch/bin/systemd-entrypoint -p ${PID_DIR}/elasticsearch.pid --quiet
ExecStart=/usr/share/elasticsearch/bin/elasticsearch -p ${PID_DIR}/elasticsearch-instance-1.pid --quiet

```

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [October 16, 2024, 6:59pm UTC](https://discuss.elastic.co/t/it-shows-sucessfully-run-but-unable-to-access-it/368937/2 "2024-10-16T18:59:07Z")

</div>

Category updated on October 16, 2024, 6:59pm UTC

From #Elastic Search to #Elasticsearch

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [October 16, 2024, 6:59pm UTC](https://discuss.elastic.co/t/it-shows-sucessfully-run-but-unable-to-access-it/368937/3 "2024-10-16T18:59:54Z")

</div>

May be it's secured so you should use https instead of http?

---

<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:** [November 13, 2024, 7:00pm UTC](https://discuss.elastic.co/t/it-shows-sucessfully-run-but-unable-to-access-it/368937/4 "2024-11-13T19:00:25Z")

</div>

Closed on November 13, 2024, 7:00pm UTC

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