List all TCP ports on a machine

Richard Coffre
Richard Coffre used Ask the Experts™
on
Hi,

I would like to know how can I list all the ports (TCP especially) configured on a machine ? In which files they are defined ?

TIA
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Top Expert 2004

Commented:
Top Expert 2004
Commented:

Commented:
Simply open a CMD window and type:

NETSTAT -A

This will show all your listening and connected ports.
Become a Microsoft Certified Solutions Expert

This course teaches how to install and configure Windows Server 2012 R2.  It is the first step on your path to becoming a Microsoft Certified Solutions Expert (MCSE).

I love TCP Mon from www.sysinternals.com  It shows you all ports open, as well as whethere they are listening, established, or time-wait.  It's real time so you can have it open and watch as TCP and UDP ports open and close.  They've got lots of other goodies at this site, some of the best tools I've found.
Top Expert 2004

Commented:
Active Ports will show you all ports TCP and UDP that are open on the system, and what process has them open, as well as displaying the local and remote IPs for each connection. I use this when I think a box has been compromised to see what's listening on the network.

http://www.protect-me.com/freeware.html
nader alkahtaniInformation security consultant

Commented:
As jhance said

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial