220-1002 · Question #378
A technician is using a CLI to perform tasks on a Windows OS. The technician needs to determine which ports are being utilized for TCP listening. Which of the following commands should the…
The correct answer is A. netstat. The netstat (network statistics) command displays active network connections, routing tables, and port usage. Running 'netstat -an' (all connections, numeric format) or 'netstat -an | find "LISTENING"' on Windows lists all ports currently in a TCP LISTENING state, showing which…
Question
A technician is using a CLI to perform tasks on a Windows OS. The technician needs to determine which ports are being utilized for TCP listening. Which of the following commands should the technician use?
Options
- Anetstat
- Bnet use
- Cnslookup
- Dping
How the community answered
(25 responses)- A92% (23)
- C4% (1)
- D4% (1)
Explanation
The netstat (network statistics) command displays active network connections, routing tables, and port usage. Running 'netstat -an' (all connections, numeric format) or 'netstat -an | find "LISTENING"' on Windows lists all ports currently in a TCP LISTENING state, showing which services are waiting for incoming connections. 'net use' manages mapped network drives and shared resources. 'nslookup' queries DNS servers to resolve hostnames - it has nothing to do with local port states. 'ping' tests ICMP connectivity to a host. Only netstat provides local port and connection state information.
Topics
Community Discussion
No community discussion yet for this question.