The netstat (network statistics) command is included in most modern operating systems and it shows the active connections on a machine. You would generally use it when you want to find out what type of services are running on a workstation or what connections are open on that machine.
In a Windows environment, the following related commands are commonly used:
- netstat –a: lists all active connections (see the screenshot below)
- netstat –b: lists the applications (executables) that use the active connections
- netstat –n: lists the connections without doing a DNS resolution
The content below this message is for members only.