Why Can Users Ping But Not Reach a Linux Web Server?

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?

  1. traceroute
  2. netstat Source Reference Answer
  3. tcpdump
  4. arp

Community Votes

B
71%
C
29%

71% of anonymous learners picked answer B. Votes are pick records left by other test-takers — they are not the verified answer.

Community Insight

Evaluates the candidate's ability to prioritize rapid service-layer verification over deep packet analysis, with the common trap being premature use of packet capture tools.

This N10-009 scenario tests systematic network service troubleshooting when Layer 3 connectivity succeeds but application access fails. Community consensus confirms that verifying active port bindings via netstat is the most efficient initial diagnostic step.

Option C (tcpdump) is frequently chosen because test-takers instinctively want to inspect raw traffic, but capturing packets before confirming whether the service is actually listening on port 80 or 443 wastes valuable exam time and skips foundational checks.

Community Discussion (4 comments)

ojones888 👍 5 Selected: C
C. tcpdump Explanation: Since users can ping the server but cannot access the web server via a browser, it suggests that the server's network interface is operational (because it responds to ICMP ping requests), but there may be an issue with the web server's network traffic or its ability to respond to HTTP requests. tcpdump is a network packet analyzer that can capture and display packets on the network. Running tcpdump on the server will help the administrator observe if the server is receiving the HTTP requests (on port 80 for HTTP or port 443 for HTTPS) from users and whether the server is responding to those requests. This would be the first step to identify if the issue lies with the server not receiving or not responding to web traffic.
SuntzuLegacy 👍 5 Selected: B
The correct answer is: B. netstat Explanation: The netstat command is used to check the listening ports and active network connections on a system. Since the web server process is running and users can ping the server, the issue might be related to whether the web server is properly listening on the expected port (e.g., TCP port 80 for HTTP or TCP port 443 for HTTPS). Running netstat (or its modern replacement, ss) can quickly verify if: The web server is listening on the expected port. The service is bound to the correct IP address or network interface.
Nyang2 👍 3 Selected: B
Check the netstat first. Even if the demon is running, there is no port mapping or correcrt port number when checking netstat. .
Samuel1822 👍 4 Selected: B
The netstat command helps verify if the server is listening on the correct port (e.g., 80 or 443 for HTTP/HTTPS)

Comments & Corrections

No comments yet — spotted an error or have a note? Share it below.

Log in to comment, report an error, or add a note about this question.

Submitted for moderation before publishing. Keep it helpful and respectful.

Expert Analysis

Why the Answer Is Correct

When basic ICMP ping succeeds, Layer 3 reachability is confirmed, shifting focus to transport and application layers. Running netstat immediately reveals whether the web daemon is actively bound to TCP ports 80 or 443 and listening on the correct interface. This aligns with CompTIA’s structured troubleshooting methodology, which prioritizes quick configuration and state validation before deploying heavier diagnostic utilities.

Why the Other Options Are Wrong

Traceroute maps intermediate routing hops, which is unnecessary since end-to-end IP connectivity is already proven by successful pings. Tcpdump performs deep packet inspection, making it a secondary tool for analyzing malformed requests or firewall drops after service binding is verified. ARP resolves IP-to-MAC address mappings at Layer 2, offering no insight into host-based service availability or port states.

Community Comment Notes

Multiple high-voted comments reinforce that netstat must be checked first to validate port mapping and service binding, even when the underlying daemon appears active [2][3]. Contributors note that misconfigured port numbers or restricted interface bindings are frequent real-world culprits [4]. The strong vote distribution demonstrates clear alignment with standardized diagnostic workflows.

Official Reference

Exam Strategy

Always confirm service binding and listening states before escalating to packet-level analysis. CompTIA consistently rewards candidates who apply the principle of least privilege to troubleshooting steps, selecting the fastest command that yields the highest diagnostic value first.

Related Analysis

Practice All N10-009 Questions

Access 100 questions with complete answers and detailed explanations.

View Full N10-009 Practice Test →

← Back to N10-009 Study Guide