Solved

List all TCP ports on a machine

Posted on 2003-10-24
8
219 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
Backup Solution for AWS

Read about how CloudBerry Backup fully integrates your backups with Amazon S3 and Amazon Glacier to provide military-grade encryption and dramatically cut storage costs on any platform.

 
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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

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…
Azure Functions is a solution for easily running small pieces of code, or "functions," in the cloud. This article shows how to create one of these functions to write directly to Azure Table Storage.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

735 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