[Podman 5.0 Fedora 40 Beta] Container 2 Container without podman network cant connect over host.containers.internal:8080 #22235
Unanswered
chrismaster
asked this question in
Q&A
Replies: 1 comment 1 reply
-
OK, maybe someone gets into same trouble. |
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
-
On a fresh Fedora 40 Server Netinstall I try to:
Container A: podman run -p 8080:80 nginx
Container B; podman run -it alpine sh
Container B: apk add curl
Container B: curl host.containers.internal:8080 or curl pubIP:8080 gives an error: curl: (7) Failed to connect to host.containers.internal port 8080 after 0 ms: Couldn't connect to server
I can curl from Container B to google and it works
I can curl from host to pubIP:8080 and it works
But I can't get a connection from one container to another.
Is there some magic selinux or firewall stuff I have to enable?
I don't want to put the containers into a pod or into the same podman network.
Thx
Chris
Beta Was this translation helpful? Give feedback.
All reactions