How can I check to see which TCP ports are in use?

A. The Netstat command can list currently used ports, which might be helpful if you suspect an application is clashing with another one on an active port. Use the -an switch to show all connections and listening ports in numeric form.

C:\> netstat -an

Check the output for any port that you think your program might use.

Take a look at using the Port Reporter. Also read: TCP vs. UDP Ports.

Hide comments

Comments

  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Publish