Solved

Windows server Unused Open Ports

Posted on 2013-06-24
5
5,441 Views
Last Modified: 2013-06-24
Hello Experts,

 I am in a situation where I need to find out the Unused local ports on a windows servers. I have used TCPView from systinternals and found some ports which are open .

Now the difficult task is to determine how I can separate the port list which are not being used.

Can someone help me? Once I determine them I will close it.

Thanks,

-Prashant Girennavar.
0
Comment
Question by:Prashant Girennavar
5 Comments
 
LVL 13

Expert Comment

by:Jaihunt
ID: 39270769
Check the below link it may help you

http://www.petri.co.il/quickly_find_local_open_ports.htm
0
 
LVL 10

Author Comment

by:Prashant Girennavar
ID: 39270841
It appears to be fine.

But I am interested in finding out the ports which are open and not at being used.

IS there any method to get that information.?

Thanks,

-Prashant Girennavar.
0
 
LVL 9

Expert Comment

by:VirastaR
ID: 39270913
0
 
LVL 18

Accepted Solution

by:
Andrew Davis earned 500 total points
ID: 39271001
You cannot easily tell which ones are not being used, as when you look at them, they may not be in use, but that doesnt mean that they are not used from time to time (even for very brief moments, eg DHCP requests).

You could go to a command prompt and type:-
netstat -oan |find /i "listening"

This will list all the ports that are listening and their respective PID (Process ID) then use Task Manager to look up each process and determine if you think you need it or not.

Generally though the best option is to use a firewall and block all the ports but the ones that you know that you need. as stopping/disabling services that you *Think* you dont need is not a good method.

Cheers
Andrew
0
 
LVL 10

Author Closing Comment

by:Prashant Girennavar
ID: 39271190
Thanks Andrew
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

New Windows 7 Installations take days for Windows-Updates to show up and install. This can easily be fixed. I have finally decided to write an article because this seems to get asked several times a day lately. This Article and the Links apply to…
Possible fixes for Windows 7 and Windows Server 2008 updating problem. Solutions mentioned are from Microsoft themselves. I started a case with them from our Microsoft Silver Partner option to open a case and get direct support from Microsoft. If s…
This tutorial will walk an individual through the steps necessary to configure their installation of BackupExec 2012 to use network shared disk space. Verify that the path to the shared storage is valid and that data can be written to that location:…
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…

820 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