# Container-to-Host Communication — Docker

Source: https://www.geekswithgeeks.com/en/docker/docker-container-to-host

> Reach a service running on your host machine from inside a container.

## host.docker.internal

From inside a container, `localhost` refers to the **container itself**, not your host machine. Use the special DNS name `host.docker.internal` to reach services running on your host.
