• To open a Windows firewall port, open the “Windows Defender Firewall with Advanced Security” console.
  • Then click on “Inbound Rules” or “Outbound Rules,” click on “New Rule,” and select the “Port” option.
  • Continue selecting the protocol and the port number to open on Windows 10, allow the connection, choose the network profile to apply the rules, and save the changes.

On Windows 10 , the built-in firewall (also known as the “Microsoft Defender Firewall” or “Windows Firewall”) is a powerful feature that protects your computer and data from threats from outside trying to get in and from those inside trying to get out.

A firewall works as a gatekeeper and blocks all unnecessary network ports. Every time an app or service tries to communicate outside your device, it checks if there’s a specific rule in the database to allow or deny network access. You’ll see a prompt to identify and grant or deny permission if it can’t find a rule.

Sometimes, well-known applications (for example, SQL Server and QuickBooks) will not work as expected because they’re getting blocked by the Microsoft Defender Firewall. When this happens, you’ll need to manually create a rule to allow them to access the network.

This guide will teach you the steps to open a port to allow an app to communicate outside the network using the built-in firewall on Windows 10.

  • Open a firewall port on Windows 10
  • Close a firewall port on Windows 10

Open a firewall port on Windows 10

To open one or more ports in the Windows firewall, use these steps:

  1. Open Windows Security .
  2. Click on Firewall & network protection .
  3. Click the Advanced settings option.
  4. Select Inbound Rules from the left navigation pane.
  5. Under the “Actions” section, click the New Rule option in the right pane.
  6. Select the Port option.
  7. Click the Next button.
  8. Select the appropriate protocol (TCP or UDP) depending on the application. (Usually, the option is TCP.)
  9. Type the port number in the “Specific local ports” setting. Quick note: If the app requires multiple ports open, you can type as many as you need as long as you separate each one with a comma (4500,4600,5000). If you need to specify a port range, you can use a hyphen (-). For example, 3000-3100.
  10. Click the Next button.
  11. Select the Allow the connection option. (Using the same step, note that you can block the connection.)
  12. Click the Next button.
  13. Select the network type to apply the rule. (Usually, you want to leave this option with the default selections.)
  14. Click the Next button.
  15. Type a descriptive name for the rule—for example, My Inbound Rule for QuickBooks .
  16. Click the Finish button.

After you complete the steps, inbound connections will be allowed for the app through the port you open in the firewall.

Open outgoing port in Microsoft Defender Firewall

If the app needs a specific outbound port, you can use the same instructions, but instead of selecting Inbound Rules on step 4 , you would choose the Outbound Rules options.

To open an outbound firewall port on Windows 10, use these steps:

  1. Open Windows Security .
  2. Click on Firewall & network protection .
  3. Click the Advanced settings option.
  4. Click on Outbound Rules in the left navigation pane.
  5. Under the “Actions” section, click the New Rule option in the right pane.
  6. Select the Port option.
  7. Click the Next button.
  8. Select the appropriate protocol (TCP or UDP) depending on the application.
  9. Type the port number in the “Specific local ports” setting.
  10. Click the Next button.
  11. Select the “Allow the connection” option.
  12. Click the Next button.
  13. Select the network type to apply the new rule.
  14. Click the Next button.
  15. Type a descriptive name for the rule.
  16. Click the Finish button.

Once you complete the steps, outbound connections will be allowed for your application through the port you open in the Windows firewall.

Close a firewall port on Windows 10

To close the port in the Microsoft Defender Firewall, use these steps:

  1. Open Windows Security .
  2. Click on Firewall & network protection .
  3. Click the Advanced settings option.
  4. Click on Inbound Rules or Outbound Rules from the left navigation pane, depending on where you open the firewall port.
  5. Select the rule you want.
  6. Under the “Actions” section, click the Disable Rule to close the port while keeping the rule. Or click the Delete Rule option to close the port and remove the rule from the firewall.

After you complete the steps, the app or service will no longer have access to the network or internet because the Windows firewall will block it.

  • To change the default printer on Windows 10, open Settings > Printers & scanners, click the “Manage” button on the printer, and click the “Set as default” button.
  • You may also need to turn off the “Let Windows manage my default printer” option to enable the option to change the default settings.

You can quickly change the default printer on Windows 10 through the Settings app, but you must disable a specific setting before the option becomes available, and in this guide, I’ll show you how.

On Windows 10 , you probably noticed that the default printer keeps changing when you have multiple printers configured on your computer. This is because the operating system has a feature that sets your most recently used printer as the default automatically.

While allowing the operating system to change the default printer automatically can be a handy feature, it’s not something for everyone. If you must set a specific printer as the default, you first need to disable the feature to prevent the system from making changes to the printer settings, and then you have to choose the new default printing device.

This guide will teach you the steps to choose the default printer on Windows 10.

Change default printer on Windows 10

To change the default printer on Windows 10, use these steps:

  1. Open Settings on Windows 10.
  2. Click on Devices .
  3. Click on Printers & scanners .
  4. Clear the “Let Windows manage my default printer” option.
  5. Select the printer to make the new system default and click the Manage button.
  6. Click the “Set as default” button to set the default printer on Windows 10.

Once you complete the steps, the new printer will become the default on Windows 10.