Skip to main content

How to Fix: Windows Firewall Blocking Ports on Your VPS

Open specific ports through Windows Firewall on your VPS with inbound rules — step-by-step wizard walkthrough.

If you're running a VPS and find that a specific port (such as 80, 443, 3389, or a custom application port) is blocked, it's likely being filtered by Windows Defender Firewall. This can prevent applications from listening for incoming connections — such as websites, custom RDP ports, or trading software.


Step-by-Step: Open a Port in Windows Firewall


Step #1: Open Windows Defender Firewall

  • Click the Start Menu

  • Search for: Windows Defender Firewall with Advanced Security

  • Open the app


Step #2: Create a New Inbound Rule

  1. In the left-hand menu, click Inbound Rules

  2. On the right-hand side, click New Rule…


Step #3: Choose Port-Based Rule

  • Select Port

  • Click Next


Step #4: Select Protocol and Enter Port Number

  • Choose either TCP or UDP (most services use TCP)

  • In the "Specific local ports" box, enter the port number you want to allow (e.g., 80 for HTTP, 443 for HTTPS, or your app's port)

  • Click Next


Step #5: Allow the Connection

  • Select: Allow the connection

  • Click Next


Step #6: Apply to Network Profiles

You can apply the rule to:

  • Domain

  • Private

  • Public

In most VPS environments, we recommend checking all three. Click Next.

Security note: Enabling a rule on the Public profile increases your VPS's exposure to the internet on that port. Only include it if this VPS genuinely needs to be reachable while its network connection is classified as Public — otherwise, prefer applying the rule to just the Private and/or Domain profiles.


Step #7: Name the Rule

  • Enter a name that describes the rule (e.g., "Allow Port 80" or "Custom App Port 5000")

  • Click Finish

The rule will now appear in your list of active inbound rules.


Port Is Now Open

Once added, your application or service should be accessible on that port (assuming the application itself is running and listening on that port). You can use tools like netstat, telnet, or online port checkers to verify the open state.


Need Assistance?

Our support team is available 24/7. If you have any questions or run into issues, open a support ticket from your QuantVPS dashboard and we'll get back to you as quickly as possible.

Did this answer your question?