DEV Community

Kristiyan Velkov
Kristiyan Velkov

Posted on

1 1 1 1

Accessing Localhost service from a Docker Container

If you’ve ever run into issues accessing your local development server from inside a Docker container, you’re not alone.

Image description

Many developers face challenges when their application running in a container needs to interact with services running on their host machine.

*Luckily, Docker provides a simple way to do this: *

host.docker.internal

*🔗 Learn more: * https://kristiyanvelkov.substack.com/p/accessing-localhost-service-from

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

AWS GenAI LIVE!

GenAI LIVE! is a dynamic live-streamed show exploring how AWS and our partners are helping organizations unlock real value with generative AI.

Tune in to the full event

DEV is partnering to bring live events to the community. Join us or dismiss this billboard if you're not interested. ❤️