312-50V10 · Question #726
Which command can be used to show the current TCP/IP connections?
The correct answer is C. Netstat. The netstat command displays active TCP/IP connections, listening ports, and protocol statistics, making it the standard tool for viewing current network connection state.
Question
Which command can be used to show the current TCP/IP connections?
Options
- ANetsh
- BNet use connection
- CNetstat
- DNet use
How the community answered
(28 responses)- A4% (1)
- C89% (25)
- D7% (2)
Why each option
The netstat command displays active TCP/IP connections, listening ports, and protocol statistics, making it the standard tool for viewing current network connection state.
Netsh is a command-line scripting utility for configuring and managing network interfaces, firewall rules, and routing - it does not display active TCP/IP connection states.
'Net use connection' is not a valid Windows command - 'net use' manages shared drive and resource mappings and has no function for reporting TCP/IP socket connections.
Netstat (network statistics) is a cross-platform command-line utility that reports active TCP/UDP connections, listening ports, protocol statistics, and routing tables; flags such as '-an' display all connections and ports in numeric form. It is the primary tool for auditing which processes have open network connections on a host.
'Net use' creates or lists mapped network drives and UNC share connections but does not report TCP/IP socket-level connection states or listening ports.
Concept tested: Displaying active TCP/IP connections with netstat
Source: https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/netstat
Topics
Community Discussion
No community discussion yet for this question.