Hello there,
Have you tried opening port 8080 in Windows defender ?
As the same application works in other locations this must be the firewall rule. Meanwhile, you can use the debugger to find more information about this behavior.
The below thread discusses the same issue and you can try out some troubleshooting steps from this and see if that helps you to sort the Issue. https://learn.microsoft.com/en-us/answers/questions/425760/c-udp-communication-program-runs-on-laptop-but-not.html
---------------------------------------------------------------------------------------------------------------------------------------------
--If the reply is helpful, please Upvote and Accept it as an answer–