Hi I am running filebeat docker image with following command
docker run docker.elastic.co/beats/filebeat:8.6.2 setup -E setup.kibana.host=http://localhost:5601 -E output.elasticsearch.hosts=["https://localhost:9200"] but it
says connect: cannot assign requested address .
I have conformed that my Elasticsearch is running on
Let me know if I am missing anything, any quick help is appreciated.
Thanks in advance.
February 23, 2023, 6:08am
Welcome to our community!
Please don't post pictures of text, logs or code. They are difficult to read, impossible to search and replicate (if it's code), and some people may not be even able to see them
February 23, 2023, 6:10am
Perhaps Take a look at this ... Localhost within your docker container is not localhost of the host/ server
@mwsprotte Welcome to the community!
Docker Networking Issue not Elastic...
Might be worth reading... if you are new to docker
docker run \
--net=elastic docker.elastic.co/beats/filebeat:7.17.4 \
setup -E setup.kibana.host=host.docker.internal:5601 \
March 23, 2023, 8:10am
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.