CV0-002 · Question #142
A technician has just installed a key-value store on a server and is unable to connect it to the application using port 8291. The technician logged on to the server and needs to determine if the port
The correct answer is D. netstat. To determine if a specific port, like 8291, is actively listening for incoming connections on a server, a technician should use the netstat command.
Question
A technician has just installed a key-value store on a server and is unable to connect it to the application using port 8291. The technician logged on to the server and needs to determine if the port is listening. Which of the following tools should the technician use?
Options
- Aroute
- Bnslookup
- Carp
- Dnetstat
How the community answered
(29 responses)- B3% (1)
- C7% (2)
- D90% (26)
Why each option
To determine if a specific port, like 8291, is actively listening for incoming connections on a server, a technician should use the netstat command.
The route command is used to view or manipulate the IP routing table, which is not relevant for checking if a specific port is listening.
The nslookup command is used to query Internet domain name servers to resolve hostnames to IP addresses or vice versa, not to check listening ports.
The arp command is used to display or modify the IP-to-Physical address translation tables used by Address Resolution Protocol, which is not relevant for checking if a specific port is listening.
The netstat command (network statistics) is used to display active network connections, routing tables, and a wide range of network interface statistics, including which ports are currently listening for incoming connections. By using netstat -an or similar options, a technician can see if port 8291 is in a LISTEN state, indicating the key-value store process is correctly bound to it.
Concept tested: Network troubleshooting - checking listening ports
Source: https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/netstat
Topics
Community Discussion
No community discussion yet for this question.