nerdexam
CompTIA

220-802 · Question #899

Which of the following commands will show all active TCP/IP network connections?

The correct answer is B. NETSTAT. NETSTAT is the command-line utility that displays all active TCP/IP connections, listening ports, and related network statistics.

Networking

Question

Which of the following commands will show all active TCP/IP network connections?

Options

  • APING
  • BNETSTAT
  • CNET
  • DTRACERT

How the community answered

(30 responses)
  • A
    3% (1)
  • B
    93% (28)
  • C
    3% (1)

Why each option

NETSTAT is the command-line utility that displays all active TCP/IP connections, listening ports, and related network statistics.

APING

PING tests reachability to a host using ICMP echo requests and does not display active connection information.

BNETSTATCorrect

NETSTAT (Network Statistics) displays active TCP and UDP connections, their local and remote addresses, port numbers, and connection states such as ESTABLISHED or LISTENING. Running 'netstat -a' shows all active connections and listening ports, making it the definitive tool for inspecting live network sessions.

CNET

NET is used to manage network shares, users, and services but does not display active TCP/IP socket connections.

DTRACERT

TRACERT traces the route packets take to a destination host and does not report active connections on the local machine.

Concept tested: NETSTAT command for active TCP/IP connections

Source: https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/netstat

Topics

#NETSTAT#TCP/IP connections#active connections#command line tools

Community Discussion

No community discussion yet for this question.

Full 220-802 Practice