Raspbian - Permission Denied when broadcasting message
2
votes
1
answer
1817
views
I am using the Elixir/ Erlang package on raspbian to try and build a simple UDP send/receive app. For information, I am using [this tutorial](https://bgmarx.com/2019/05/05/sending-and-receiving-udp/) .
When I try to send the UDP packet to the network on the broadcast IP address given to my
eth0
interface, I am getting a "Permission denied" message.
Is it really not allowed to broadcast UDP messages to the network from linux? And if so, how to give permission to a specific package to broadcast messages? I have tested it with localhost
IP address 127.0.0.1 and I am getting no error.
Asked by TAs
(23 rep)
Jul 4, 2021, 02:18 AM
Last activity: Jul 5, 2021, 11:54 AM
Last activity: Jul 5, 2021, 11:54 AM