Docker Community Forums

Share and learn in the Docker community.

UDP unicast (from container host) and broadcast (from anywhere) not working


(Mnewcomb) #1

Using the latest 17.12.0-ce.

I’m trying to get both UDP unicast and broadcast data into one of my containers. My container is listening on port 3000:

C:>docker port udpcontainer 3000/udp
0.0.0.0:3000

I’ve tried multiple methods to determine the boundaries of the problem. It seems that:

I CAN NOT receive unicast or broadcast UDP traffic FROM my local machine to my external ip address (192.168.120.111 or 192.168.120.255)
I CAN NOT receive broadcast UDP traffic FROM any machine on my local network

I CAN receive unicast UDP traffic FROM my local machine sent to the loopback address or my containers ip address
I CAN receive unicast UDP traffic FROM other machines on my network

Any ideas?