---
title: "Discussion on \"Docker Networking Deep Dive: How My Air Hockey Server's Containers Actually Talk to Each Other\" | Hashnode"
description: "Discussion on \"Docker Networking Deep Dive: How My Air Hockey Server's Containers Actually Talk to Each Other\". Why localhost:6379 breaks once you dockerize your app, and what Compose's bridge network, DNS, and health checks actually do about it."
url: "https://hashnode.com/posts/docker-networking-localhost-vs-service-name/6a4e767caca545c8be03c8d3"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Docker Networking Deep Dive: How My Air Hockey Server's Containers Actually Talk to Each Other](https://nitin-poojary-backend-and-devops.hashnode.dev/docker-networking-localhost-vs-service-name?utm_source=hashnode&utm_medium=feed)

Why localhost:6379 breaks once you dockerize your app, and what Compose's bridge network, DNS, and health checks actually do about it.

Jul 8 · 13 min read · nitin-poojary-backend-and-devops.hashnode.dev  
Read the article

-   [#docker](https://hashnode.com/tag/docker)
-   [#docker-compose](https://hashnode.com/tag/docker-compose)
-   [#dockerfile](https://hashnode.com/tag/dockerfile)
-   [#golang](https://hashnode.com/tag/golang)
-   [#redis](https://hashnode.com/tag/redis)
-   [#devops](https://hashnode.com/tag/devops)
-   [#backend-development](https://hashnode.com/tag/backend-development)
-   [#container-networking](https://hashnode.com/tag/container-networking)

## Written by

[Nitin Poojary](https://hashnode.com/@NitinPoojary)

@NitinPoojary

  
[View profile](https://hashnode.com/@NitinPoojary)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
