If you are using netstat then you know that netstat -b shows the executables that are using open ports - they open them and close them as required. You don't say why you want to open or close a port manually... what would you do with it...?
Anyway, I don't need to know that... Windows Firewall will open a port for you... go to the Exceptions tab, Add a Port. And wait for some port scanner out there to hit it... and your sys. It could take no more than a minute.
gerbil
Industrious Poster
4,454 posts since May 2005
Reputation Points: 253
Solved Threads: 322
Skill Endorsements: 5