search
top

How To View Listening UDP Ports on Windows

Introduction

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.

Process

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.

 

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.

top
Life of a Geek Admin
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.