# Check status elasticsearch remotely

**URL:** <https://discuss.elastic.co/t/check-status-elasticsearch-remotely/181850>\
**Category:** Elasticsearch\
**Created:** [May 20, 2019, 2:26pm UTC](https://discuss.elastic.co/t/check-status-elasticsearch-remotely/181850 "2019-05-20T14:26:54Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![elk2](https://avatars.discourse-cdn.com/v4/letter/e/f14d63/32.png) [@elk2](https://discuss.elastic.co/u/elk2)\
**Post date:** [May 20, 2019, 2:26pm UTC](https://discuss.elastic.co/t/check-status-elasticsearch-remotely/181850/1 "2019-05-20T14:26:54Z")

</div>

I would like to check status elasticsearch from a remote machine.

I tried to use

curl --user username:password -XGET remoteelasticsearch:remoteport/\_cluster/health?pretty

but without success.

No response from remote machine

What is wrong?

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [May 20, 2019, 2:51pm UTC](https://discuss.elastic.co/t/check-status-elasticsearch-remotely/181850/2 "2019-05-20T14:51:46Z")

</div>

Is the cluster only listening on `localhost`?

---

<div class="post-metadata">

**Author:** ![elk2](https://avatars.discourse-cdn.com/v4/letter/e/f14d63/32.png) [@elk2](https://discuss.elastic.co/u/elk2)\
**Post date:** [May 22, 2019, 10:31am UTC](https://discuss.elastic.co/t/check-status-elasticsearch-remotely/181850/3 "2019-05-22T10:31:48Z")

</div>

Yes. I use nginx with 8888 port to reverse connection in 9200 localhost

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [May 22, 2019, 11:25am UTC](https://discuss.elastic.co/t/check-status-elasticsearch-remotely/181850/4 "2019-05-22T11:25:01Z")

</div>

If you can connect to `localhost:9200` on the host itself then it's likely an nginx issue.

---

<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 19, 2019, 11:35am UTC](https://discuss.elastic.co/t/check-status-elasticsearch-remotely/181850/5 "2019-06-19T11:35:03Z")

</div>

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