Close all open ports not in use

Keep only the minimum number of ports open. You should close all ports not in use.