Solved

Windows server Unused Open Ports

Posted on 2013-06-24
5
5,969 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
[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
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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone 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

Suggested Solutions

When you upgrade from Windows 8 to 8.1 or to Windows 10 or if you are like me you are on the Insider Program you may find yourself with many 450MB recovery partitions.  With a traditional disk that may not be a problem but with relatively smaller SS…
ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
This tutorial will give a an overview on how to deploy remote agents in Backup Exec 2012 to new servers. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as connecting to a remote Back…
This tutorial will walk an individual through locating and launching the BEUtility application to properly change the service account username and\or password in situation where it may be necessary or where the password has been inadvertently change…

734 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