Open application. Press “Firewall” in the left menu of main window than press “Expert”.
Here you have to select protocol and type a name of port you want to close.
Using this method you can close all open ports you want.