CompTIA Network+ (N10-009) — Question 126

After changes were made to a firewall, users are no longer able to access a web server. A network administrator wants to ensure that ports 80 and 443 on the web server are still accessible from the user IP space. Which of the following commands is best suited to perform this testing?

Answer options

Correct answer: D

Explanation

The correct answer is D, nmap, as it is specifically designed to scan networks and check the status of ports, making it ideal for verifying access to ports 80 and 443. The other options are not suitable: A, dig is used for DNS lookups, B, ifconfig is for configuring network interfaces, and C, ping only checks for basic connectivity, not specific port access.