Read lan broadcast with web app

Hello!
i am trying to read broadcast from LAN’s device.
wheh i run my web app on debug mode, works fine, i can read the broadcast send by the device using tcpsocket.
but when i deploy the web app i get the tcpsocket error event with error number 103.
i opened the firewall´s port but still get same error. any suggestion?
regards,

vadir