Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

List all TCP ports on a machine

Posted on 2003-10-24
8
Medium Priority
?
242 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 2000 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
[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

 
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

Ask an Anonymous Question!

Don't feel intimidated by what you don't know. Ask your question anonymously. It's easy! Learn more and upgrade.

Question has a verified solution.

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

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…
Simulator games are perfect for generating sample realistic data streams, especially for learning data analysis. It is even useful for demoing offerings such as Azure stream analytics, PowerBI etc.
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…
Loops Section Overview
Suggested Courses

926 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