Reaching elasticsearch externally

I am trying to reach ES via a GO Client - the official GO Client from ES is able to connect. however, I am trying to see is this client is reaching the ES instance

It is not working because the transport publish address of the instance is always

I tried to change this with the following command -
docker run -d -p 5601:5601 -p 9200:9200 -p 5044:5044 --name elk sebp/elk elasticsearch -Enetwork.publish_host=local,site

the docker container starts.. how ever the http "publish_address": ""

I also tried with a docker-compose like,

- bootstrap.memory_lock=true
- network.publish_host=
- transport.publish_port=9200

Neither is this working.. Is there any other possibility to expose the instance out side the docker container so that an external application can access the stored data ?


have you tried setting as setting to bind to any interface?

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