Are you using a windows firewall? Do you wish to open a particular port through Firewall? If yes is your answer for both of these questions, then you are on the right page as I have given a tutorial here that will guide you through some simple steps to open a port in Windows Firewall.
Well, a firewall will change the way your computer communicates with the other computer on the Internet. The firewall, by default, will block the communication until you manually opens the port. As many of us know that opening a port is a significant security issue, but still we need to open a port for some reasons.
For example, you’re opening the port 3389, when you are selecting the check box to allow RDC (Remote Desktop Connection). According to your need, you can block or open port in Windows (configure Windows Firewall settings), and you can also restore the default if you are unsatisfied with the modified Firewall settings.
Steps To Open A Port In Windows Firewall:
Step 1: To get started, first click on Start and again click on Control Panel link in the start menu.
Step 2: In the control panel window, navigate to category view and then select System and Security from the right pane.
Step 3: Now select Windows Firewall, and select Advanced Settings from the left pane of the control panel window.
Step 4: This will now open up the Windows Firewall Window With Advanced Security window as shown below.
Step 5: In the window, select Inbound Rules from the left pane.
Step 6: The actions related to that rule will be displayed in the right pane. Select New Rule under Actions in the right pane.
Step 7: The New Inbound Rule Wizard will open up. In the first screen, select the type of rule as Port and click Next.
Step 8: Select the protocol like TCP and enter the port that needs to be opened in Specific Local Ports text box. Once entered, click Next.
For this tutorial purpose, I am entering the port as 587 (which is the SMTP port to send emails).
Step 9: In the next screen, Specify the action that needs to be taken when a connection matches the specified Rule Condition.
I am here selecting, Allow the connection and once selected click Next.
Step 10: Next, in the Profiles page, accept the defaults and click Next.
Step 11: Specify a name for the rule in the next step. The name can be anything as per your wish, but for easy understanding, I have given the name as “Open Port 587” here. Now click on Finish to create the rule.
That’s it. You have now successfully opened a port in your Windows firewall.
If you encounter any issues while following this tutorial, do let me know using the comments section below.