Windows server display current TCP connections

by on May 10, 2006 · 0 comments· LAST UPDATED November 21, 2006

in

Q. I would like to find out all current connections to my windows 2000/2003 server. How do I display current connections?

A. Microsoft Windows networking tools include netstat command. It is use to to displays active TCP connections, ports on which the computer is listening, Ethernet statistics, the IP routing table, IPv4 statistics (for the IP, ICMP, TCP, and UDP protocols), and IPv6 statistics (for the IPv6, ICMPv6, TCP over IPv6, and UDP over IPv6 protocols). Used without parameters, netstat displays active TCP connections.

Go to command prompt. Click on start > run > Type cmd command. At dos/nt prompt type command following command to display active connections type the following command:
netstat
To Displays all active TCP connections and the TCP and UDP ports on which the computer is listening type the following command:netstat -aTo displays active TCP connections and includes the process ID (PID) for each connection type the following command:netstat -oTo display both the Ethernet statistics and the statistics for all protocols, type the following command:netstat -s -eTo get help on this command:netstat /?

TwitterFacebookGoogle+PDF versionFound an error/typo on this page? Help us!

{ 0 comments… add one now }

Leave a Comment

Tagged as:

Previous Faq:

Next Faq: