Error in Kibana logs

I think issue might have occurred but i am still not able to solve this. I am new to this.

Below is what i am doing and getting errors in Kibana as

Error message i see in " No Living Connection"

"Unable to revie connection: http://elasticsearch:9200"

What am i missing?

elasticsearch:
image: elasticsearch:${KIBANA_TAG:-latest}
container_name: gds_elasticsearch
environment: ['http.host=0.0.0.0',
'transport.host=127.0.0.1',
'ELASTIC_PASSWORD=elastic']
networks:
- my_network
ports:
- "9200:9200"

kibana:
image: kibana:${KIBANA_TAG:-latest}
container_name: kibana
environment:
- ELASTICSEARCH_USERNAME=kibana
- ELASTICSEARCH_PASSWORD=elastic
ports:
- "5601:5601"
networks:
- my_network
depends_on: ['elasticsearch']

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