# \#networking

**URL:** https://forums.docker.com/tag/networking/111.md?page=2

[Latest](https://forums.docker.com/latest.md) · [Categories](https://forums.docker.com/categories.md) · [Tags](https://forums.docker.com/tags.md)

**Page:** 3

---

## [WireGuard & Docker Networking: Preserving Real Client IPs Without NAT – A Tricky Routing Challenge](https://forums.docker.com/t/wireguard-docker-networking-preserving-real-client-ips-without-nat-a-tricky-routing-challenge/146883)

<div class="topic-metadata">

**Author:** [@kaizenspace](https://forums.docker.com/u/kaizenspace)\
**Replies:** 0\
**Last updated:** [February 26, 2025, 12:04am UTC](https://forums.docker.com/t/wireguard-docker-networking-preserving-real-client-ips-without-nat-a-tricky-routing-challenge/146883 "2025-02-26T00:04:23Z")

</div>

Introduction Hello everyone, I’m working with a Docker-Compose setup that runs both WireGuard and CoreDNS, and my goal is to have CoreDNS log the actual client peer IPs by disabling NAT. That part is simple enough and …

---

## [Unable to access swarm services from other node ip via routing mesh](https://forums.docker.com/t/unable-to-access-swarm-services-from-other-node-ip-via-routing-mesh/146676)

<div class="topic-metadata">

**Author:** [@tetie](https://forums.docker.com/u/tetie)\
**Replies:** 11\
**Last updated:** [February 21, 2025, 10:48am UTC](https://forums.docker.com/t/unable-to-access-swarm-services-from-other-node-ip-via-routing-mesh/146676 "2025-02-21T10:48:36Z")

</div>

Hiya, I’m trying to connect to my services running on docker swarm using the ip of my master node. In the past I’ve restricted them to run on a single node so I can access it using that node’s ip but that kind of defeats…

---

## [Macvlan network do not work and do not appear in my home router](https://forums.docker.com/t/macvlan-network-do-not-work-and-do-not-appear-in-my-home-router/146607)

<div class="topic-metadata">

**Author:** [@saladcesar2](https://forums.docker.com/u/saladcesar2)\
**Replies:** 0\
**Last updated:** [February 12, 2025, 11:11pm UTC](https://forums.docker.com/t/macvlan-network-do-not-work-and-do-not-appear-in-my-home-router/146607 "2025-02-12T23:11:07Z")

</div>

Hi, I am trying to create macvlan network for use with containers that need to access UPnP devices on my home network. A year ago, I did exactly that it “just worked”. Now, I can’t get it to work again. I am configuring…

---

## [Problem when i try to listen and broadcast/multicast UDP message through docker container](https://forums.docker.com/t/problem-when-i-try-to-listen-and-broadcast-multicast-udp-message-through-docker-container/146594)

<div class="topic-metadata">

**Author:** [@thegeiger](https://forums.docker.com/u/thegeiger)\
**Replies:** 1\
**Last updated:** [February 12, 2025, 8:36pm UTC](https://forums.docker.com/t/problem-when-i-try-to-listen-and-broadcast-multicast-udp-message-through-docker-container/146594 "2025-02-12T20:36:31Z")

</div>

I have a docker container which host a software how need to listen message from a specific port and want to broadcast/multicast a message through my network. This network is not internal to my docker. And my software wo…

---

## [Running Docker in WSL2 - Can't connect containers](https://forums.docker.com/t/running-docker-in-wsl2-cant-connect-containers/146514)

<div class="topic-metadata">

**Author:** [@kiracodes](https://forums.docker.com/u/kiracodes)\
**Replies:** 2\
**Last updated:** [February 11, 2025, 3:51pm UTC](https://forums.docker.com/t/running-docker-in-wsl2-cant-connect-containers/146514 "2025-02-11T15:51:41Z")

</div>

I have 2 docker containers being created by docker-compose, which I am running from WSL2 using Docker Desktop. Docker Desktop is connected to my WSL2 resource. My problem is that the api-container will only work when sta…

---

## [Connecting two TAP interfaces on different containers in same network](https://forums.docker.com/t/connecting-two-tap-interfaces-on-different-containers-in-same-network/146498)

<div class="topic-metadata">

**Author:** [@tomkordic](https://forums.docker.com/u/tomkordic)\
**Replies:** 1\
**Last updated:** [February 9, 2025, 9:16pm UTC](https://forums.docker.com/t/connecting-two-tap-interfaces-on-different-containers-in-same-network/146498 "2025-02-09T21:16:41Z")

</div>

So basically I defined container A and container B and put them in same network, after starting both containers I bring down their default interfaces and bring up TAP interfaces on a same IP and gateway. The problem is …

---

## [Installed an nginx container with 2 network interfaces - how to prioritize one](https://forums.docker.com/t/installed-an-nginx-container-with-2-network-interfaces-how-to-prioritize-one/146465)

<div class="topic-metadata">

**Author:** [@vorko76](https://forums.docker.com/u/vorko76)\
**Replies:** 9\
**Last updated:** [February 6, 2025, 5:18pm UTC](https://forums.docker.com/t/installed-an-nginx-container-with-2-network-interfaces-how-to-prioritize-one/146465 "2025-02-06T17:18:16Z")

</div>

I have created 2 macvlan networks, called network-50 with IP 192.168.50.202 and network-0 with IP 192.168.0.202. When attaching the container to these networks I gave the higher priority to network-50. BUT http://192.1…

---

## [Nginx proxy manager can't connect to docker containers (502 Bad gateway)](https://forums.docker.com/t/nginx-proxy-manager-cant-connect-to-docker-containers-502-bad-gateway/146451)

<div class="topic-metadata">

**Author:** [@yannickudb](https://forums.docker.com/u/yannickudb)\
**Replies:** 3\
**Last updated:** [February 3, 2025, 8:19am UTC](https://forums.docker.com/t/nginx-proxy-manager-cant-connect-to-docker-containers-502-bad-gateway/146451 "2025-02-03T08:19:49Z")

</div>

Hi, I’m quite new to docker and i’m trying to setup a server hosting Nginx proxy manager and a few websites/services. For example now running nextcloud and wordpress. I want nginx to redirect cloud.domain.com to nextc…

---

## [Docker tries to create a chain on table nat with ip6tables (but there's no nat table on ipv6) \[SOLVED\]](https://forums.docker.com/t/docker-tries-to-create-a-chain-on-table-nat-with-ip6tables-but-theres-no-nat-table-on-ipv6-solved/146347)

<div class="topic-metadata">

**Author:** [@marcelser](https://forums.docker.com/u/marcelser)\
**Replies:** 5\
**Last updated:** [January 29, 2025, 7:36pm UTC](https://forums.docker.com/t/docker-tries-to-create-a-chain-on-table-nat-with-ip6tables-but-theres-no-nat-table-on-ipv6-solved/146347 "2025-01-29T19:36:05Z")

</div>

Hi, I have configure my docker daemon with the following daemon.json: { "ipv6": false, "fixed-cidr-v6": "2001:db8:1::/64" } This used to work in older docker versions. So here’s the current setup: Client: Versi…

---

## [How to configure docker container so that container can be accessible from other lan machine using container ip?](https://forums.docker.com/t/how-to-configure-docker-container-so-that-container-can-be-accessible-from-other-lan-machine-using-container-ip/146365)

<div class="topic-metadata">

**Author:** [@tslls342](https://forums.docker.com/u/tslls342)\
**Replies:** 0\
**Last updated:** [January 29, 2025, 1:07pm UTC](https://forums.docker.com/t/how-to-configure-docker-container-so-that-container-can-be-accessible-from-other-lan-machine-using-container-ip/146365 "2025-01-29T13:07:13Z")

</div>

I want to access the container over the lan (from different machines) using IP of the containers. I was trying the following way. None of them worked (i.e., not accessible from other LAN machine, nor host as well). My h…

---

## [Error response from daemon: failed to do request: HTTPS request instead of HTTP](https://forums.docker.com/t/error-response-from-daemon-failed-to-do-request-https-request-instead-of-http/144889)

<div class="topic-metadata">

**Author:** [@14145zxc145](https://forums.docker.com/u/14145zxc145)\
**Replies:** 7\
**Last updated:** [January 17, 2025, 8:04pm UTC](https://forums.docker.com/t/error-response-from-daemon-failed-to-do-request-https-request-instead-of-http/144889 "2025-01-17T20:04:05Z")

</div>

C:\\Users\\asus\>docker info Client: Version: 27.3.1 Context: desktop-linux Debug Mode: false Plugins: buildx: Docker Buildx (Docker Inc.) Version: v0.17.1-desktop.1 Path: C:\\Users\\asus\\.docker\\cli…

---

## [Doing \`ip\` commands during docker build](https://forums.docker.com/t/doing-ip-commands-during-docker-build/146088)

<div class="topic-metadata">

**Author:** [@lielalmog](https://forums.docker.com/u/lielalmog)\
**Replies:** 0\
**Last updated:** [January 14, 2025, 9:37pm UTC](https://forums.docker.com/t/doing-ip-commands-during-docker-build/146088 "2025-01-14T21:37:33Z")

</div>

Hi all, I’m creating a docker compose with 3 containers I want to change the default ip route of a container during the build stage, but I get an error. Do I have to change the ip route after the container has started…

---

## [Docker Container Access Webserver from local Network](https://forums.docker.com/t/docker-container-access-webserver-from-local-network/145716)

<div class="topic-metadata">

**Author:** [@icbruzzler](https://forums.docker.com/u/icbruzzler)\
**Replies:** 2\
**Last updated:** [December 27, 2024, 8:16am UTC](https://forums.docker.com/t/docker-container-access-webserver-from-local-network/145716 "2024-12-27T08:16:54Z")

</div>

Hello, i have a problem to acces a docker webpacge from my local network. I use docker compose at my ubuntu server installation firewall is disabled At the server i can access the webpage via localhost:8090 oder ip:8…

---

## [Docker bridge network breaks local internet](https://forums.docker.com/t/docker-bridge-network-breaks-local-internet/145679)

<div class="topic-metadata">

**Author:** [@sayeedafridi](https://forums.docker.com/u/sayeedafridi)\
**Replies:** 7\
**Last updated:** [December 25, 2024, 11:36am UTC](https://forums.docker.com/t/docker-bridge-network-breaks-local-internet/145679 "2024-12-25T11:36:41Z")

</div>

On a fresh install of ubuntu-server v24.04 and docker-ce v27.4.1, if I run any docker container with bridge network it breaks the whole local internet after 2-3s. I’ve checked my docker0 bridge network is unmamanged. Eve…

---

## [Networking from host to container is not working](https://forums.docker.com/t/networking-from-host-to-container-is-not-working/145343)

<div class="topic-metadata">

**Author:** [@iainmcc](https://forums.docker.com/u/iainmcc)\
**Replies:** 2\
**Last updated:** [December 7, 2024, 3:55pm UTC](https://forums.docker.com/t/networking-from-host-to-container-is-not-working/145343 "2024-12-07T15:55:56Z")

</div>

I just got a new desktop computer, and tried putting a development project on it. It is a web app, so I have a container for Apache, a container for Tomcat, and a container for MySQL. The apache container exposes ports …

---

## [Docker daemon automatically enables IP forwarding in host OS](https://forums.docker.com/t/docker-daemon-automatically-enables-ip-forwarding-in-host-os/141590)

<div class="topic-metadata">

**Author:** [@balaranjith](https://forums.docker.com/u/balaranjith)\
**Replies:** 3\
**Last updated:** [December 6, 2024, 6:59am UTC](https://forums.docker.com/t/docker-daemon-automatically-enables-ip-forwarding-in-host-os/141590 "2024-12-06T06:59:44Z")

</div>

Hello, Our security system scan flagged the IP forwarding as security vulnerability in the host OS running docker containers. After disabling IP forwarding in the host OS, the application running in the docker container…

---

## [Cannot fetch from preact node docker](https://forums.docker.com/t/cannot-fetch-from-preact-node-docker/145297)

<div class="topic-metadata">

**Author:** [@flbe](https://forums.docker.com/u/flbe)\
**Replies:** 1\
**Last updated:** [December 4, 2024, 2:48pm UTC](https://forums.docker.com/t/cannot-fetch-from-preact-node-docker/145297 "2024-12-04T14:48:26Z")

</div>

I am running preact in a Node Docker, and a rest-api in a phpapache docker. docker run --network vumc-network -p 80:80 --name phpapache phpapache docker run -p 4200:4200 --network vumc-network --name node node When i …

---

## [How to enable embedded DNS to listen on IPv6?](https://forums.docker.com/t/how-to-enable-embedded-dns-to-listen-on-ipv6/145259)

<div class="topic-metadata">

**Author:** [@fritzbacke](https://forums.docker.com/u/fritzbacke)\
**Replies:** 6\
**Last updated:** [December 3, 2024, 9:00pm UTC](https://forums.docker.com/t/how-to-enable-embedded-dns-to-listen-on-ipv6/145259 "2024-12-03T21:00:12Z")

</div>

Hi, I have a Nextcloud AIO setup that (for some reason unclear to me) does DNS lookups only via IPv6. Looking up hosts inside containers works fine with IPv4, but not with IPv6 as it seems, the embedded DNS server is on…

---

## [Access services running on the host machine inside a Swarm-managed container](https://forums.docker.com/t/access-services-running-on-the-host-machine-inside-a-swarm-managed-container/144931)

<div class="topic-metadata">

**Author:** [@kevinbioj](https://forums.docker.com/u/kevinbioj)\
**Replies:** 3\
**Last updated:** [November 25, 2024, 10:31pm UTC](https://forums.docker.com/t/access-services-running-on-the-host-machine-inside-a-swarm-managed-container/144931 "2024-11-25T22:31:29Z")

</div>

Hello, I’m deploying a simple application that relies on a PostgreSQL and a Redis instance. These instances are live on the host machine, outside of any container. My application needs to connect to these services. H…

---

## [Intermittent "host unreachable" between 2 containers (only!)](https://forums.docker.com/t/intermittent-host-unreachable-between-2-containers-only/145116)

<div class="topic-metadata">

**Author:** [@pierricd](https://forums.docker.com/u/pierricd)\
**Replies:** 13\
**Last updated:** [November 24, 2024, 6:37pm UTC](https://forums.docker.com/t/intermittent-host-unreachable-between-2-containers-only/145116 "2024-11-24T18:37:55Z")

</div>

Hi, I’ve been using Docker on my small computers for a long time now. In particular, I’ve been running the LinuxServer team’s Swag container as a reverse proxy to many other containers, including Portainer, for several …

---

## [UDP packets are not being forwarded from Windows Server to WSL2 running inside it](https://forums.docker.com/t/udp-packets-are-not-being-forwarded-from-windows-server-to-wsl2-running-inside-it/145125)

<div class="topic-metadata">

**Author:** [@saggusingh](https://forums.docker.com/u/saggusingh)\
**Replies:** 1\
**Last updated:** [November 23, 2024, 8:06am UTC](https://forums.docker.com/t/udp-packets-are-not-being-forwarded-from-windows-server-to-wsl2-running-inside-it/145125 "2024-11-23T08:06:46Z")

</div>

I am trying to create swarm from 2 window servers using built in WSL@ and one pure linux machine. But I am seeing connection issues sending UDP packets from Linux to WSL@ through window server. Tested scenarios: Send…

---

## [Not able to mount shared path (UNC SFTP path) to docker containers](https://forums.docker.com/t/not-able-to-mount-shared-path-unc-sftp-path-to-docker-containers/145109)

<div class="topic-metadata">

**Author:** [@devilyogi](https://forums.docker.com/u/devilyogi)\
**Replies:** 1\
**Last updated:** [November 22, 2024, 4:42pm UTC](https://forums.docker.com/t/not-able-to-mount-shared-path-unc-sftp-path-to-docker-containers/145109 "2024-11-22T16:42:46Z")

</div>

I went through all the internet resources and all AI/GPT help Tried all most all methods to mount the shared sftp path to my docker container. docker run --network host -v //dmns.domain-eg .com/shared:/app -it ubuntu b…

---

## [Docker compose network](https://forums.docker.com/t/docker-compose-network/145092)

<div class="topic-metadata">

**Author:** [@proger002](https://forums.docker.com/u/proger002)\
**Replies:** 2\
**Last updated:** [November 22, 2024, 1:19am UTC](https://forums.docker.com/t/docker-compose-network/145092 "2024-11-22T01:19:24Z")

</div>

Hello, colleagues! I encountered a problem when setting up Docker networks on an Ubuntu Server 24.04 server running as a virtual machine on ESXi. Docker is installed on the server, and the Docker service is actively ru…

---

## [Bootstrap broker localhost:9092 (id: -1 rack: null) disconnected](https://forums.docker.com/t/bootstrap-broker-localhost-9092-id-1-rack-null-disconnected/145031)

<div class="topic-metadata">

**Author:** [@muradazimzada](https://forums.docker.com/u/muradazimzada)\
**Replies:** 0\
**Last updated:** [November 19, 2024, 2:45am UTC](https://forums.docker.com/t/bootstrap-broker-localhost-9092-id-1-rack-null-disconnected/145031 "2024-11-19T02:45:06Z")

</div>

Hi, I have been trying to get my dockerized services up, however I am facing some issues with connecting to kafka broker (docker-container) from java applications. What I have tried: setting bootstrap server to kafka, …

---

## [Windows docker container error when program finished and container stuck when using Default Switch network](https://forums.docker.com/t/windows-docker-container-error-when-program-finished-and-container-stuck-when-using-default-switch-network/144983)

<div class="topic-metadata">

**Author:** [@andysong123](https://forums.docker.com/u/andysong123)\
**Replies:** 1\
**Last updated:** [November 16, 2024, 11:58am UTC](https://forums.docker.com/t/windows-docker-container-error-when-program-finished-and-container-stuck-when-using-default-switch-network/144983 "2024-11-16T11:58:21Z")

</div>

This is the docker command I ran on windows container docker run \` --name test \` --rm \` --interactive \` --entrypoint powershell.exe \` --network "Default Switch" \` mcr.microsoft.com/powershell:latest \` ls I am expecting…

---

## [How to talk to my local VM from windows docker container](https://forums.docker.com/t/how-to-talk-to-my-local-vm-from-windows-docker-container/144982)

<div class="topic-metadata">

**Author:** [@andysong123](https://forums.docker.com/u/andysong123)\
**Replies:** 2\
**Last updated:** [November 16, 2024, 10:59am UTC](https://forums.docker.com/t/how-to-talk-to-my-local-vm-from-windows-docker-container/144982 "2024-11-16T10:59:14Z")

</div>

I am having trouble to ping my vm from windows docker container, here is my set up. vm ipconfig Ethernet adapter Ethernet 8: Connection-specific DNS Suffix . : mshome.net Link-local IPv6 Address . . . . . : fe8…

---

## [ARP Cache can not be flushed within docker containers](https://forums.docker.com/t/arp-cache-can-not-be-flushed-within-docker-containers/144929)

<div class="topic-metadata">

**Author:** [@phill661](https://forums.docker.com/u/phill661)\
**Replies:** 2\
**Last updated:** [November 13, 2024, 3:54pm UTC](https://forums.docker.com/t/arp-cache-can-not-be-flushed-within-docker-containers/144929 "2024-11-13T15:54:11Z")

</div>

I am trying to create a group of docker containers that communicate with one another and regularly flush their ARP cache. The goal is for the application to serve as an interactive demonstration of ARP cache poisoning. H…

---

## [Confusing resolver structure](https://forums.docker.com/t/confusing-resolver-structure/144854)

<div class="topic-metadata">

**Author:** [@amondale](https://forums.docker.com/u/amondale)\
**Replies:** 8\
**Last updated:** [November 9, 2024, 7:21pm UTC](https://forums.docker.com/t/confusing-resolver-structure/144854 "2024-11-09T19:21:23Z")

</div>

I am just getting back in to using Docker after a few retirement years away from the “Dev Crowd”, so I find myself getting in places I thought I’d figured out a few years back. Well, things change, right? Still, it would…

---

## [How to connect external Mysql from docker build](https://forums.docker.com/t/how-to-connect-external-mysql-from-docker-build/114189)

<div class="topic-metadata">

**Author:** [@sbaindia](https://forums.docker.com/u/sbaindia)\
**Replies:** 2\
**Last updated:** [August 24, 2021, 6:01am UTC](https://forums.docker.com/t/how-to-connect-external-mysql-from-docker-build/114189 "2021-08-24T06:01:19Z")

</div>

mysql and docker both are installed on the same machine. But while connecting to the databse through docker image (db configurations are configured in the docker image; spring boot application) | … 58 common f…

[Previous page](https://forums.docker.com/tag/networking/111.md?match_all_tags=true&page=1&tags%5B%5D=networking)
