CompTIA Server+ (SK0-005) — Question 82

A server administrator wants to check the open ports on a server. Which of the following commands should the administrator use to complete the task?

Answer options

Correct answer: D

Explanation

The correct command is 'netstat -a', as it displays all active connections and listening ports. 'nslookup' is used for DNS queries, 'nbtstat' checks NetBIOS over TCP/IP, and 'telnet' is used for connecting to remote systems but does not list open ports.