It's based on Microsoft's official TCPView page and its netstat command reference on Microsoft Learn, both read on 23 November 2026. Options and features can change with updates.
If your connection suddenly slows down in a game, your upload is being used by something you don't recognise, or you just want to know what's talking to the internet from your PC, you need a list of network connections and the programs that own them. Windows gives you two official ways to get one from Microsoft: the built-in netstat command and the free Sysinternals tool TCPView. They show broadly the same information in very different ways.
The short answer
TCPView is the easier choice for most people. It's a window that lists every TCP and UDP endpoint, shows which process owns each one, updates live and highlights changes in colour. You can also close a connection from it.
netstat is built into Windows and runs in a terminal. It's best when you can't or don't want to download anything, when you want a quick one-off snapshot, or when you need extras such as Ethernet statistics, per-protocol statistics or the routing table.
Microsoft itself describes TCPView as "a more informative and conveniently presented subset of the Netstat program that ships with Windows".
What netstat does
netstat is a command-line tool that comes with Windows. According to Microsoft's command reference, it displays active TCP connections, the ports your computer is listening on, Ethernet statistics, the IP routing table, and IPv4 and IPv6 statistics. Run with no options, it simply lists active TCP connections.
The options most useful on a home PC are:
Option | What it does (per Microsoft) |
|---|
-a | Shows all active TCP connections plus the TCP and UDP ports the PC is listening on |
-b | Shows the executable involved in creating each connection or listening port. It can be slow, and it fails without sufficient permissions |
-n | Shows addresses and port numbers as numbers, without trying to look up names |
-o | Adds the process ID (PID) for each connection, which you can match up on the Processes tab of Task Manager |
-e | Shows Ethernet statistics, such as bytes and packets sent and received |
-s | Shows statistics by protocol |
-p | Limits output to one protocol, such as tcp or udp |
-r | Shows the IP routing table |
You can combine options, and Microsoft notes that -o works with -a, -n and -p. A common pattern is to combine -a, -n and -o, then look up the PID in Task Manager to see which app it belongs to. netstat can also take an interval in seconds so it repeats its output, but you are still reading a scrolling list of text rather than a live table.
The -b option shows program names directly, but as Microsoft warns, it can take a while and will fail unless you have sufficient permissions. In practice that means running your terminal as administrator.
What TCPView does
TCPView is a free Windows program from Microsoft's Sysinternals collection. When you start it, it lists all active TCP and UDP endpoints on your system, including local and remote addresses and the state of each TCP connection, and it shows the name of the process that owns each endpoint, including the service name where there is one.
The features that make it easier to use than netstat, according to Microsoft:
Live updates. TCPView refreshes every second by default, and you can change the rate from the Options menu.
Colour-coded changes. Endpoints that change state between updates are highlighted in yellow, deleted ones in red and new ones in green, so a program opening a burst of connections stands out straight away.
Name resolution on or off. By default TCPView resolves IP addresses to domain names, and a toolbar button or menu item turns that off if you want raw addresses.
Close connections. You can close an established TCP connection (one in the ESTABLISHED state) from the File menu or by right-clicking it and choosing Close Connections.
Save output. You can save the window's contents to a file.
The TCPView download also includes Tcpvcon, a command-line version with the same functions. Its usage is similar to netstat: -a shows all endpoints (by default it shows established TCP connections), -c prints the output as CSV and -n skips address resolution. You can also give it a process name or PID to see only that program's connections.
Microsoft's TCPView page lists support for Windows 8.1 and later on the client side and Windows Server 2012 and later. The download is about 1.5MB, and you can also run it straight from Sysinternals Live.
Head to head
| TCPView | netstat |
|---|
Comes with Windows | No (free Microsoft download) | Yes |
Interface | Live window | Text output in a terminal |
Shows owning process | Yes, by name (and service) | PID with -o, executable with -b (needs permissions) |
Highlights changes | Yes, colour-coded | No |
Close a connection | Yes, established TCP connections | No |
Export | Save to file; Tcpvcon can print CSV | Redirect text output |
Extra network statistics | No | Ethernet, per-protocol and routing table |
Which should you use?
Use TCPView when you're investigating. If a game's ping jumps whenever something in the background starts uploading, TCPView's live, colour-coded list is the quickest way to see which process just opened a burst of connections. Being able to close a single established connection is also handy for testing, although the program may simply reconnect. For a lasting fix, change the app's settings or stop it running at startup.
Use netstat when you need something quick and built in, you're working on a PC where you can't install tools, or you need the statistics TCPView doesn't show: Ethernet byte and packet counts (-e), per-protocol statistics (-s) or the routing table (-r). It's also easy to paste its text output into a support forum post.
If you find a program you don't recognise, look it up before ending it, and run a scan with Windows Security if you're worried. Our Microsoft Defender vs paid antivirus comparison explains what the built-in protection covers. If connections look normal but the network itself is misbehaving, see our guides to fixing Ethernet that's not working and resetting network settings in Windows 11.
TCPView sits alongside other Sysinternals tools we've covered, such as Process Explorer, which is useful once you've found a suspicious process and want to know more about it.
Our verdict
For most PC users, TCPView is the better way to see what's connected to the internet. It shows owning processes by name, updates live, highlights changes and can close connections, and it's a small, free download from Microsoft. netstat is still worth knowing because it's built into Windows and gives you statistics and routing information TCPView doesn't. Use TCPView to investigate and netstat for quick snapshots and extra detail.