From time to time we need to view “UDP” ports that are in a listening state on Windows. In this short post we will see how to do this with the netstat command.
The process to view the UDP ports in listening state is simple. Open a command prompt and type, netstat -an | find “UDP” | more:
C:\>netstat -an | find "UDP" | more UDP 0.0.0.0:982 *:* UDP 0.0.0.0:5355 *:* UDP 10.0.2.15:137 *:* UDP 10.0.2.15:138 *:* UDP 127.0.0.1:52507 *:* UDP [::]:969 *:*
Looking at the command we see a combination of commands with the netstat -an command. Using find to filter for UDP and pipe to the more command if the output is more than one screen. Also, using the command the way we have will also show any UDP connections in a connected state.