Error kibana docker client connect

docker run -d --name kibana3 -p 5601:5601 -e KIBANA_ELASTICSEARCH_=URL= -e ELASTICSEARCH_USERNAME=kibana_system -e ELASTICSEARCH_PASSWORD=kibana_system bitnami/kibana

but i receive on docker console

[2023-12-14T11:03:44.504+00:00][ERROR][elasticsearch-service] Unable to retrieve version information from Elasticsearch nodes. getaddrinfo ENOTFOUND elasticsearch

my Elasticsearch have response on on machine browser

The environment variable for the elasticsearch URL is: ELASTICSEARCH_HOSTS so you would need to change that. By default the kibana container looks for elasticsearch as the ES URL because that's how it is configured in the Elasticsearch docker image.

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