How to Fix Windows Firewall Blocking Specific Ports on a VPS
- First, search Windows for a Windows Defender Firewall:

- Click on Advanced Settings:

- Go to Inbound Rules and click on New Rule:

- Select Port and click Next:

- Choose from selected options based on a Port type(in our case TCP) and enter the number of the Port you want to add. In our case- it’s Port 80 (we’re using port 80 to ensure the website or application hosted on a server is accessible to users) then click Next:

- There is additional step when setting up this specific port. Check Allow the Connection and click Next:

- On the next step- you can specify when the rule apply. Choose from the selected options and click Next:

- Give the rule a name (In our case "Allow Port 80") and click Finish:

- Looking to set up a custom RDP Port for secure remote access? Check out this guide!: How to setup RDP custom port and configure firewall
Updated on: 08/10/2025
Thank you!