photon icon indicating copy to clipboard operation
photon copied to clipboard

can't access docker's ports except using loopback address

Open zero-custom opened this issue 1 year ago • 6 comments

Describe the bug

Using Photon OS 5.0 (OVA with virtual hardware v15) the host can't access docker's ports.

Reproduction steps

example docker run -p 1234:1234 alpine nc -l 1234

test 1: the host scan port on it's network address nmap 192.168.1.xxx -p 1234 result port 1234 was filtered

test2: the host scan port on loopback address nmap 127.0.0.1 -p 1234 result port 1234 was open

Expected behavior

expect ports opened on all network interfaces.

Additional context

No response

zero-custom avatar Sep 15 '23 07:09 zero-custom