1.Click start
2.click control pannel
3.click security center
4.click windows firewall
5.click expectations

in there u will see ports that are open on ur pc now if u want to disabel them uncheck them if u want to make a new on the click add port if you want to stop ppl from accessing your ports i would reccomend downloading

ANALOG X

its a very good program i use it all the time