Closed NikoCosmico01 closed 4 months ago
Fleet server cannot connect to Elasticsearch at all, hence the dial tcp 127.0.0.1:9200: connect: connection refused
.
Likely you need to expose port 9200 in your docker-compose file. It could also be that in your configuration Elasticsearch is not actually listening on 127.0.0.1.
Either way this doesn't appear to be a bug in the agent. Closing, post in https://discuss.elastic.co/c/elastic-stack/elastic-agent/91 if you still can't resolve this.
Hi, I am struggling adding elastic agent on docker. All the times I try to docker run the agent this error appears:
The command used is:
Here is my ELK stack
docker-compose.yml
Can someone help please?