How to get elasticsearch URI

I have created an account on this website ( ), I have an access to elastic-stack. But, could you please tell me how can I see elasticsearch Uri to use it in my own application.

Do you mean that you created an account on And deployed a cluster?

Yes. I deployed a cluster.

I can use this for example =

but i need to have Uri elastic to connect from Java code

private static synchronized RestHighLevelClient makeConnection() {

if (restHighLevelClient == null `) {

restHighLevelClient = new RestHighLevelClient(


                 new HttpHost(HOST, PORT_ONE, SCHEME)   <---I need HOST

Ok. Go to you deployment in Then click on Copy Endpoint button.


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