Solved

Windows server Unused Open Ports

Posted on 2013-06-24
5
4,433 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
Comment Utility
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
Comment Utility
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
Comment Utility
0
 
LVL 18

Accepted Solution

by:
Andrew Davis earned 500 total points
Comment Utility
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
Comment Utility
Thanks Andrew
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Join & Write a Comment

You might have come across a situation when you have Exchange 2013 server in two different sites (Production and DR). After adding the Database copy in ECP console it displays Database copy status unknown for the DR exchange server. Issue is strange…
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 video Micro Tutorial explains how to clone a hard drive using a commercial software product for Windows systems called Casper from Future Systems Solutions (FSS). Cloning makes an exact, complete copy of one hard disk drive (HDD) onto another d…
To efficiently enable the rotation of USB drives for backups, storage pools need to be created. This way no matter which USB drive is installed, the backups will successfully write without any administrative intervention. Multiple USB devices need t…

728 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now