Installing filebeat on dockers question

I'm new Elastic Stack. I've been able to install Elasticsearch and Kibana via Docker using the instructions on However, I'm having some difficulty installing filebeats using the directions on After starting Elasticsearch and Kibana, when I run:

docker run setup -E -E output.elasticsearch.hosts=["localhost:9200"]

I get the following output:

Exiting: couldn't connect to any of the configured Elasticsearch hosts. Errors: [error connecting to Elasticsearch at http://localhost:9200: Get "http://localhost:9200": dial tcp [::1]:9200: connect: cannot assign requested address]

This is with a docker setup. Any guidance to fixing this would be great. Thanks.

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