Windows server display current TCP connections

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 /?

🐧 If you liked this page, please support my work on Patreon or with a donation.
🐧 Get the latest tutorials on SysAdmin, Linux/Unix, Open Source/DevOps topics:
CategoryList of Unix and Linux commands
File Managementcat
FirewallAlpine Awall CentOS 8 OpenSUSE RHEL 8 Ubuntu 16.04 Ubuntu 18.04 Ubuntu 20.04
Network Utilitiesdig host ip nmap
OpenVPNCentOS 7 CentOS 8 Debian 10 Debian 8/9 Ubuntu 18.04 Ubuntu 20.04
Package Managerapk apt
Processes Managementbg chroot cron disown fg jobs killall kill pidof pstree pwdx time
Searchinggrep whereis which
User Informationgroups id lastcomm last lid/libuser-lid logname members users whoami who w
WireGuard VPNAlpine CentOS 8 Debian 10 Firewall Ubuntu 20.04
0 comments… add one

Leave a Reply

Your email address will not be published. Required fields are marked *

Use HTML <pre>...</pre>, <code>...</code> and <kbd>...</kbd> for code samples.