When Windows Firewall is on, your computer’s network ports are not only closed to hackers, but also hidden so they can’t pry them open. The firewall also protects you from network-related malware like trojan horses and worms, which spread easily over the internet from unprotected computer to computer. [1] X Research source
Because Windows Firewall is so protective, it sometimes prevents certain internet apps from working properly, including some video conferencing suites and torrenting clients. Allowing an app through the firewall is safer than opening a port. [2] X Trustworthy Source Microsoft Support Technical support and product information from Microsoft. Go to source This is because Windows Firewall will automatically hide and close the port when it’s not in use.
An open port is like drilling a hole through your firewall. This setting allows all the traffic coming in and all the data leaving that port to bypass the firewall, which leaves the port vulnerable to hackers and other attacks. Ports remain open until you close them, unlike when you allow an app through the firewall.
You might have to click Advanced Settings first.
If you want to enter a range of ports, separate the ports with a hyphen (e. g. , 5200-5210).
To close a port, select the rule, and then click Disable Rule under “Actions” in the right panel.
Windows Firewall is on by default, but you can disable and enable it if needed. But really, you should never turn your firewall off, even if you have another firewall enabled, unless you’re on a private network and you’re only doing so temporarily. [3] X Trustworthy Source Microsoft Support Technical support and product information from Microsoft. Go to source