A Linux administrator needs to verify if a newly installed web server is listening on the default port and is reachable from a remote system. Which command should the administrator use?
The nmap command is a versatile tool for network exploration and security auditing. It can scan network entities for open ports and services. When provided with an IP address and port number, it can verify if a given service is running and reachable on that port, which is exactly what is needed to check if a web server is listening on its default port. openssl s_client is typically used to troubleshoot SSL/TLS connections, not to confirm if a service is listening on a specific port. netstat is useful for displaying network connections on the local machine, but it is not designed for testing remote system ports. dig is a tool for querying DNS name servers, which is unrelated to checking for open ports on a remote system.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What does the 'nmap' command do?
Open an interactive chat with Bash
Why is port 80 significant for web servers?
Open an interactive chat with Bash
What are the differences between 'openssl s_client' and 'nmap' for checking server connectivity?