Closing All Unused Open Ports

Close all ports that are not in use. Open only the minimum number of ports.