Expiring Today—Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

List all TCP ports on a machine

Posted on 2003-10-24
8
Medium Priority
?
236 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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
Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

 
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: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying 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…
Read on to get a few ideas on how to promote your next corporate event.
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
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…

718 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