nerdexam
CompTIA

N10-005 · Question #352

An application is using port 2000 on a PC. Which of the following could an administrator do to determine what software is listening on that port?

The correct answer is A. Run netstat. The netstat command (network statistics) displays active network connections, listening ports, and on most operating systems can associate those ports with the process using them (e.g., netstat -ano on Windows shows the PID, which can then be cross-referenced in Task Manager)…

Network troubleshooting

Question

An application is using port 2000 on a PC. Which of the following could an administrator do to determine what software is listening on that port?

Options

  • ARun netstat
  • BRun dig
  • CRun nbtstat
  • DRun tracert

How the community answered

(34 responses)
  • A
    88% (30)
  • B
    3% (1)
  • C
    3% (1)
  • D
    6% (2)

Explanation

The netstat command (network statistics) displays active network connections, listening ports, and on most operating systems can associate those ports with the process using them (e.g., netstat -ano on Windows shows the PID, which can then be cross-referenced in Task Manager). This makes it the correct tool to identify which application is bound to port 2000. dig is a DNS lookup utility. nbtstat resolves NetBIOS names and sessions over TCP/IP. tracert (traceroute) maps the path packets take to a destination host. None of the alternatives provide information about which local process owns a port.

Topics

#netstat#port monitoring#network utilities#troubleshooting tools

Community Discussion

No community discussion yet for this question.

Full N10-005 Practice