Network TroubleshootingQuestion 96 of 100

Which command shows active TCP/UDP connections and listening ports on a local host?

a.ping
b.tracert
c.netstat
d.arp

Explanation

The netstat command lists active connections, listening ports, and associated states on the local host. It helps confirm whether a service is listening and which remote endpoints are connected. It is useful for diagnosing application and port issues.

Practice all 100 questions free — no signup required.

Related questions on this topic

Last reviewed: · editorial process

PrepPass Editorial Team · Verified against CompTIA Network+ (N10-009) · How we review
Report