220-802 · Question #899
Which of the following commands will show all active TCP/IP network connections?
The correct answer is B. NETSTAT. NETSTAT is the command-line utility that displays all active TCP/IP connections, listening ports, and related network statistics.
Question
Which of the following commands will show all active TCP/IP network connections?
Options
- APING
- BNETSTAT
- CNET
- DTRACERT
How the community answered
(30 responses)- A3% (1)
- B93% (28)
- C3% (1)
Why each option
NETSTAT is the command-line utility that displays all active TCP/IP connections, listening ports, and related network statistics.
PING tests reachability to a host using ICMP echo requests and does not display active connection information.
NETSTAT (Network Statistics) displays active TCP and UDP connections, their local and remote addresses, port numbers, and connection states such as ESTABLISHED or LISTENING. Running 'netstat -a' shows all active connections and listening ports, making it the definitive tool for inspecting live network sessions.
NET is used to manage network shares, users, and services but does not display active TCP/IP socket connections.
TRACERT traces the route packets take to a destination host and does not report active connections on the local machine.
Concept tested: NETSTAT command for active TCP/IP connections
Source: https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/netstat
Topics
Community Discussion
No community discussion yet for this question.