Knowledge Base
MilesWeb / Domain Name & DNS Issues

How to Open Ports in Windows Firewall?

Approx. read time : 2 min

If you ever find the need of configuring Windows Firewall settings to open or block the ports, here is the step by step process to open ports in Windows Firewall.


On your Windows PC, click on Start menu and select ‘Windows Firewall with Advanced Security.’

Step #2

In the sidebar, click on ‘Advanced Settings’.


In the left pane, select ‘Inbound rules’.


Now, on your right-hand side window, under Actions click on ‘New Rule’. A new wizard will open as ‘New Inbound Rule’ wizard.


It will ask ‘What type of rule you want to create’. Choose ‘Port’ and then click on ‘Next’ button.


To create the rule, you need to select either TCP or UDP.

Ensure that ‘Specific local ports’ option is chosen and then enter the port range. Enter the port numbers that you want to open. Multiple ports can also be opened by entering port numbers separated with commas. If you want to add a port range, that is also possible. Enter a dash between the start and end range. For example 0123-0456.

Click on ‘Next’ once you are done.


In the next window, choose ‘Allow the connection’ and click on ‘Next’ button.


Choose your network type whichever is suitable and click ‘Next’.


Type in the name and description and then click ‘Finish’.A firewall port is now opened. Same steps needs to be followed if you want to block the ports.

For any further assistance please get in touch with our support team.

Currently working as a digital marketing executive & social media associate at MilesWeb. My responsibilities include creating newsletters, article content and web content at MilesWeb. In my free time, you will see me doing research on various social media platforms for audience engagement and marketing strategies.
Need help? We’re always here for you.