This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
Access to this page requires authorization. You can trysigning in orchanging directories.
Access to this page requires authorization. You can trychanging directories.
By Mark Russinovich
Published: April 11, 2023
Download TCPView(1.5 MB)
Run now fromSysinternals Live.
TCPView is a Windows program that will show you detailed listings of allTCP and UDP endpoints on your system, including the local and remoteaddresses and state of TCP connections. TCPView also reports the name of the processthat owns the endpoint. TCPView provides a more informative and conveniently presentedsubset of the Netstat program that ships with Windows. The TCPViewdownload includes Tcpvcon, a command-line version with the samefunctionality.

When you start TCPView it will enumerate all active TCP and UDPendpoints, resolving all IP addresses to their domain name versions. Youcan use a toolbar button or menu item to toggle the display of resolvednames. TCPView shows the name of the process that owns each endpoint, including the service name (if any).
By default, TCPView updates every second, but you can use theOptions|Refresh Rate menu item to change the rate. Endpoints thatchange state from one update to the next are highlighted in yellow;those that are deleted are shown in red, and new endpoints are shown ingreen.
You can close established TCP/IP connections (those labeled with a stateof ESTABLISHED) by selectingFile|Close Connections, or byright-clicking on a connection and choosingClose Connections fromthe resulting context menu.
You can save TCPView's output window to a file using theSave menuitem.
Tcpvcon usage is similar to that of the built-in Windows netstatutility:
Usage:
tcpvcon [-a] [-c] [-n] [process name or PID]| Parameter | Description |
|---|---|
| -a | Show all endpoints (default is to show established TCP connections). |
| -c | Print output as CSV. |
| -n | Don't resolve addresses. |
Download TCPView(1.5 MB)
Run now fromSysinternals Live.
Runs on: