To Close an Unused Port, you have to click on the Windows icon in the lower left hand corner of your desktop. You need to pick "Control Panel" from the Start menu by clicking on it. After that, point to the "Windows Firewall" Option. You must click to open the dialog box. You should verify that the "Windows Firewall State:" line reads "On." If it says "Off," you can scroll to the left side of the screen. You have to click "Turn Windows Firewall on or off." Then, Click the radio button for "Turn on Windows Firewall" and the box next to "Notify me when Windows Firewall blocks a new program."
You need to Move down the screen. You must click the "On" radio button and notify box for every network before choosing "Ok" from the bottom of the dialog box. Next, Slide the pointer to "Allow a Program Through Windows Firewall" and select it. You should turn off any programs you do not want to use a port by clicking the check box next to the program name. Forth, Press the "Ok" button at the bottom of the program screen. You can close the Control Panel with clicking on the "X" in the upper right corner or pressing the "Close" button at the bottom of the screen.