Howtos / Articles

View listening UDP ports on Windows

This guide shows you how to view a list of all the listening UDP ports on a Windows machine. This is useful for knowing if a service is listening on a specific port. View all listening UDP ports on Windows: Open the command prompt. Run the following command: netstat -an | find “UDP” | more Example output: UDP 0.0.0.0:1234 *:* UDP 0.0.0.0:1235 *:* UDP 0.0.0.0:1236 *:* UDP 0.0.0.0:1237 *:* UDP 0.0.0.0:1238 *:* UDP 0.0.0.0:1239 *:*…

Read more [...]

View listening TCP ports on Windows

This guide shows you how to view a list of all the listening TCP ports on a Windows machine. This is useful for knowing if a service is listening on a specific port, or if you need to know if a specific port is available to use for something like a web server. View all listening TCP ports on Windows: Open the command prompt. Run the following command: netstat -an | find “LISTENING” | more Example output: TCP 0.0.0.0:80 0.0.0.0:0…

Read more [...]

Display process name and ID of network connections

The netstat command on Linux shows you any active and listening network connections on the computer. If there is a connection active that you are not sure what it is, you can use the ‘-p’ (or ‘–programs’) parameter to show the process id (PID) and process name of the network connection/socket. Example: Note: to use the -p parameter, you need to have root privileges, otherwise the ‘PID/Program name’ field will just display ‘-’.…

Read more [...]