# cannot receive udp packets from multicast address

**URL:** <https://forums.balena.io/t/cannot-receive-udp-packets-from-multicast-address/367218>\
**Category:** balenaOS\
**Tags:** docker, network\
**Created:** [March 22, 2023, 2:53pm UTC](https://forums.balena.io/t/cannot-receive-udp-packets-from-multicast-address/367218 "2023-03-22T14:53:49Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![hamza](https://avatars.discourse-cdn.com/v4/letter/h/a88e57/32.png) [@hamza](https://forums.balena.io/u/hamza)\
**Post date:** [March 22, 2023, 2:53pm UTC](https://forums.balena.io/t/cannot-receive-udp-packets-from-multicast-address/367218/1 "2023-03-22T14:53:49Z")

</div>

I have a container running a c# script that sends and receives UDP packets on port 5353. but for some reason I can’t receive any UDP packets. I double checked the rules and even added some extra rules to allow that port. The listener basically listens for UDP packets coming from a multicast address (224.0.0.251) and every couple of seconds a message is sent to the multicast address using the same port (5353).

in Wireshark i can clearly see that the messages are sent succesfully, but i just receive nothing, as in literally nothing (no errors, just nothing).

Any help is apreciated, I have a very limited knowledge of linux and zero knowledge of Balena

 ![img](https://global.discourse-cdn.com/balena/original/2X/0/0c6afbb38d22340b89eb8724932ed7a7359e457b.png)

---

<div class="post-metadata">

**Author:** ![HakanL](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/hakanl/32/3674_2.png) [@HakanL](https://forums.balena.io/u/HakanL)\
**Post date:** [July 12, 2023, 12:11am UTC](https://forums.balena.io/t/cannot-receive-udp-packets-from-multicast-address/367218/2 "2023-07-12T00:11:19Z")

</div>

I realize this was a while ago, but I ran into the same issue. In my code I opened a listening socket for the network adapter’s IP Address. That worked fine in Windows, but in Linux that meant multicast messages were filtered out. I had to open a listening socket for IPAddress.Any. Hopefully this will help somebody.
