Network Troubleshooting
A technician on a laptop must find which TCP ports are open on a remote server without logging in to it. Which tool should be used?
Show the answer
Correct answerA. Nmap
AWhy this is right: Nmap sends probes to a target and reports which ports are open, so no login to the server is needed.
BWhy not this: tcpdump captures traffic that crosses an interface; it does not actively probe a host's ports.
CWhy not this: arp maps IP addresses to MAC addresses on the local segment and reveals no port information.
DWhy not this: netstat shows the local host's own sockets, so run on the laptop it says nothing about the server's ports.
Nmap scans a remote host from the outside and reports its open ports and the services behind them. netstat only lists connections and listening ports on the machine where it runs, so it cannot show a remote server's ports without logging in.