312-50V11 · Question #726
Which command can be used to show the current TCP/IP connections?
The correct answer is C. Netstat. The netstat command displays all active TCP/IP connections, listening ports, and associated network statistics on a host.
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
(53 responses)- A4% (2)
- C94% (50)
- D2% (1)
Why each option
The netstat command displays all active TCP/IP connections, listening ports, and associated network statistics on a host.
Netsh is a command-line scripting utility for configuring and monitoring network settings, not for listing active TCP/IP connections.
'Net use connection' is not a valid Windows command; 'net use' manages mapped network drives and shared resource connections.
Netstat (network statistics) is the standard cross-platform command-line utility that shows all active inbound and outbound TCP connections, UDP port listeners, and per-protocol statistics. Running 'netstat -an' or simply 'netstat' provides a real-time snapshot of all current TCP/IP connections and their states.
'Net use' maps or disconnects shared drives and printer connections via SMB, not TCP/IP connection monitoring.
Concept tested: Using netstat to view 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.