# Cannot connect to the Docker daemon

**URL:** <https://discuss.elastic.co/t/cannot-connect-to-the-docker-daemon/135406>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [June 11, 2018, 4:19pm UTC](https://discuss.elastic.co/t/cannot-connect-to-the-docker-daemon/135406 "2018-06-11T16:19:21Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![cdrouin](https://avatars.discourse-cdn.com/v4/letter/c/c0e974/32.png) [@cdrouin](https://discuss.elastic.co/u/cdrouin)\
**Post date:** [June 11, 2018, 8:40pm UTC](https://discuss.elastic.co/t/cannot-connect-to-the-docker-daemon/135406/5 "2018-06-11T20:40:40Z")

</div>

> [@pierhugues](#):
>
> host: "127.0.0.1:9999"

I tried a few variations and received the same error. Looking at the docker for windows settings, there is a feature I enabled: Expose daemon on tcp://localhost:2375. This one seemed promising but still no luck.  
`

> host: "tcp://127.0.0.1:2375"

The error was the same:

> Exiting: Cannot connect to the Docker daemon at tcp://127.0.0.1:2375. Is the docker daemon running?

`

---

_[View the full topic](https://discuss.elastic.co/t/cannot-connect-to-the-docker-daemon/135406)._
