How to list UDP sockets in Linux

You will need net-tools package for netstat.

You can use the following command to get the list of active udp sockets:
netstat -lnup

 or you can use:

ss -u -a

Leave a Reply

Your email address will not be published. Required fields are marked *