containers cannot communiate if one is in host network #26246
Unanswered
What-a-mess
asked this question in
Q&A
Replies: 1 comment 1 reply
-
did you run the two without compose and see if things work ? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I was deplying a homelab and trying to get things work with qbittorrent using host network and sonarr using container network (both runs in podman's container). It was working when all containers just started, but then it won't work most of time. Sonarr gives me the error that it cannot connect to qbittorrent.
I tried to run
curl -v host.containers.internal:8989
(that's the host and port in sonarr's setting for qbittorrent), sometimes it works, but most of time it will just timeout, and tcpdump shows that the eth0 in sonarr did sent the packet, but the lo in host never received (ping works btw).I want to know if this is because of my wrong configurations? Or is this just works as intended?
Here are the compose.yaml I'm using for these two services.
Beta Was this translation helpful? Give feedback.
All reactions