You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While attempting to diagnose an issue I encounted with rabbitmq (rabbitmq/rabbitmq-stream-dotnet-client#375), I noticed that Test-NetConnection fails on podman while succeeds on docker. It seems ports not bound correctly.
Running Windows 11 Docker Desktop 4.30.0 (149282) Podman v5.0.2
Steps to reproduce the issue
Steps to reproduce the issue
docker run -d --hostname my-rabbit --publish 5672:5672 --name some-rabbit rabbitmq:3
(in powershell) Test-NetConnection localhost -p 5672
Note the success
podman run -d --hostname my-rabbit --publish 5672:5672 --name some-rabbit rabbitmq:3
(in powershell) Test-NetConnection localhost -p 5672
Note the failure: WARNING: TCP connect to (::1 : 5672) failed
Describe the results you received
WARNING: TCP connect to (::1 : 5672) failed
Describe the results you expected
TCP Connection powershell command should succeed
podman info output
host:
arch: amd64buildahVersion: 1.35.3cgroupControllers:
- cpuset
- cpu
- cpuacct
- blkio
- memory
- devices
- freezer
- net_cls
- perf_event
- net_prio
- hugetlb
- pids
- rdma
- misccgroupManager: cgroupfscgroupVersion: v1conmon:
package: conmon-2.1.10-1.fc40.x86_64path: /usr/bin/conmonversion: 'conmon version 2.1.10, commit: 'cpuUtilization:
idlePercent: 99.19systemPercent: 0.41userPercent: 0.4cpus: 8databaseBackend: sqlitedistribution:
distribution: fedoravariant: containerversion: "40"eventLogger: journaldfreeLocks: 2044hostname: Coenraad-ThinkpadidMappings:
gidmap: nulluidmap: nullkernel: 5.15.146.1-microsoft-standard-WSL2linkmode: dynamiclogDriver: journaldmemFree: 6787915776memTotal: 8176873472networkBackend: netavarknetworkBackendInfo:
backend: netavarkdns:
package: aardvark-dns-1.10.0-1.fc40.x86_64path: /usr/libexec/podman/aardvark-dnsversion: aardvark-dns 1.10.0package: netavark-1.10.3-3.fc40.x86_64path: /usr/libexec/podman/netavarkversion: netavark 1.10.3ociRuntime:
name: crunpackage: crun-1.14.4-1.fc40.x86_64path: /usr/bin/crunversion: |- crun version 1.14.4 commit: a220ca661ce078f2c37b38c92e66cf66c012d9c1 rundir: /run/crun spec: 1.0.0 +SYSTEMD +SELINUX +APPARMOR +CAP +SECCOMP +EBPF +CRIU +LIBKRUN +WASM:wasmedge +YAJLos: linuxpasta:
executable: /usr/bin/pastapackage: passt-0^20240510.g7288448-1.fc40.x86_64version: | pasta 0^20240510.g7288448-1.fc40.x86_64 Copyright Red Hat GNU General Public License, version 2 or later <https://www.gnu.org/licenses/old-licenses/gpl-2.0.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.remoteSocket:
exists: truepath: /run/podman/podman.socksecurity:
apparmorEnabled: falsecapabilities: CAP_CHOWN,CAP_DAC_OVERRIDE,CAP_FOWNER,CAP_FSETID,CAP_KILL,CAP_NET_BIND_SERVICE,CAP_SETFCAP,CAP_SETGID,CAP_SETPCAP,CAP_SETUID,CAP_SYS_CHROOTrootless: falseseccompEnabled: trueseccompProfilePath: /usr/share/containers/seccomp.jsonselinuxEnabled: falseserviceIsRemote: trueslirp4netns:
executable: ""package: ""version: ""swapFree: 2147483648swapTotal: 2147483648uptime: 0h 30m 3.00svariant: ""plugins:
authorization: nulllog:
- k8s-file
- none
- passthrough
- journaldnetwork:
- bridge
- macvlan
- ipvlanvolume:
- localregistries:
search:
- docker.iostore:
configFile: /usr/share/containers/storage.confcontainerStore:
number: 1paused: 0running: 0stopped: 1graphDriverName: overlaygraphOptions:
overlay.imagestore: /usr/lib/containers/storageoverlay.mountopt: nodev,metacopy=ongraphRoot: /var/lib/containers/storagegraphRootAllocated: 1081101176832graphRootUsed: 1091391488graphStatus:
Backing Filesystem: extfsNative Overlay Diff: "false"Supports d_type: "true"Supports shifting: "false"Supports volatile: "true"Using metacopy: "true"imageCopyTmpDir: /var/tmpimageStore:
number: 2runRoot: /run/containers/storagetransientStore: falsevolumePath: /var/lib/containers/storage/volumesversion:
APIVersion: 5.0.2Built: 1713312000BuiltTime: Wed Apr 17 10:00:00 2024GitCommit: ""GoVersion: go1.22.1Os: linuxOsArch: linux/amd64Version: 5.0.2
Issue Description
While attempting to diagnose an issue I encounted with rabbitmq (rabbitmq/rabbitmq-stream-dotnet-client#375), I noticed that
Test-NetConnection
fails on podman while succeeds on docker. It seems ports not bound correctly.Running Windows 11
Docker Desktop 4.30.0 (149282)
Podman v5.0.2
Steps to reproduce the issue
Steps to reproduce the issue
docker run -d --hostname my-rabbit --publish 5672:5672 --name some-rabbit rabbitmq:3
(in powershell)
Test-NetConnection localhost -p 5672
Note the success
podman run -d --hostname my-rabbit --publish 5672:5672 --name some-rabbit rabbitmq:3
(in powershell)
Test-NetConnection localhost -p 5672
Note the failure:
WARNING: TCP connect to (::1 : 5672) failed
Describe the results you received
WARNING: TCP connect to (::1 : 5672) failed
Describe the results you expected
TCP Connection powershell command should succeed
podman info output
Podman in a container
No
Privileged Or Rootless
None
Upstream Latest Release
No
Additional environment details
Additional environment details
Additional information
Perhaps related to #22237
The text was updated successfully, but these errors were encountered: