CompTIA Network+ (N10-009) — Question 48
A systems administrator is investigating why users cannot reach a Linux web server with a browser but can ping the server IP. The server is online, the web server process is running, and the link to the switch is up. Which of the following commands should the administrator run on the server first?
Answer options
- A. traceroute
- B. netstat
- C. tcpdump
- D. arp
Correct answer: B
Explanation
The correct command is netstat, as it allows the administrator to check the listening ports on the server to confirm if the web server is accepting connections on the appropriate port. The other commands, while useful for troubleshooting, do not provide immediate insight into whether the web server is set up correctly to handle incoming requests.