Check status elasticsearch remotely

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?

Is the cluster only listening on localhost?

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

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

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