Solved

List all TCP ports on a machine

Posted on 2003-10-24
8
206 Views
Last Modified: 2011-10-03
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
0
Comment
Question by:Richard Coffre
8 Comments
 
LVL 49

Expert Comment

by:sunray_2003
ID: 9613873
0
 
LVL 49

Accepted Solution

by:
sunray_2003 earned 500 total points
ID: 9613895
0
 
LVL 32

Expert Comment

by:jhance
ID: 9614114
Simply open a CMD window and type:

NETSTAT -A

This will show all your listening and connected ports.
0
Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

 
LVL 2

Expert Comment

by:coopey247
ID: 9614168
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.
0
 
LVL 49

Expert Comment

by:sunray_2003
ID: 9614182
0
 
LVL 6

Expert Comment

by:bkoehler-mpr
ID: 9614350
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
0
 
LVL 8

Expert Comment

by:nader alkahtani
ID: 9614959
As jhance said
0

Featured Post

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

If you thought ransomware was bad, think again! Doxware has the potential to be even more damaging.
NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

825 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question