the softwares are responsible for opening or closing of the ports.until and unless u don't know the software responsible for the opened port you can't close it. u can close ports by uninstalling the...
actually, i once did the same quest and i understood that this site is for defence and not for attack . never ask questions related to hacking as your account can be deleted.a better idea is that...