Which utility should you use to look up the port a TCP/IP service runs on?

Prepare for the Network Systems Exam with our comprehensive study guide. Access a variety of questions and detailed explanations designed to boost your understanding and confidence for test day!

Multiple Choice

Which utility should you use to look up the port a TCP/IP service runs on?

Explanation:
To see which port a TCP/IP service is listening on, you look at the system’s open sockets. Netstat reports active listening ports and the connections in use, often showing the protocol, port number, and the process that owns each port. This makes it straightforward to identify which port a given service is bound to. For example, you can view entries that are in the LISTEN state to see the ports a service is waiting on. Ping, Traceroute, and Nslookup serve different purposes—reachability, path tracing, and DNS lookups respectively—not mapping a service to its listening port.

To see which port a TCP/IP service is listening on, you look at the system’s open sockets. Netstat reports active listening ports and the connections in use, often showing the protocol, port number, and the process that owns each port. This makes it straightforward to identify which port a given service is bound to. For example, you can view entries that are in the LISTEN state to see the ports a service is waiting on. Ping, Traceroute, and Nslookup serve different purposes—reachability, path tracing, and DNS lookups respectively—not mapping a service to its listening port.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy