Windows Defender Firewall doesn’t block websites by name, and it lets browsers reach websites by default. If a site won’t load, the firewall is involved only when an outbound block rule affects your browser, the site’s IP address or the connection’s port, or when outbound connections are set to be blocked by default. To check, open Windows Defender Firewall with Advanced Security (wf.msc), look under Outbound Rules for a block rule that matches, and disable it. The more common culprits are antivirus web protection, the hosts file, a browser extension, parental controls, your router, or a work or school network, and each is fixed in its own settings.
This guide is part of DeviceGod’s Windows how-to guides. Only unblock sites you trust. A security tool that blocks a site may have a good reason.
First, find out what is blocking the site
A few quick tests save a lot of guesswork:
- Read the message. A page with an antivirus logo means the security app blocked it. A red “Dangerous site” warning comes from the browser’s own protection. A plain “can’t reach this page” or “connection refused” error points to the network, a firewall rule, the hosts file or the site itself.
- Try another browser. If the site works in Edge but not in Chrome, look at Chrome’s extensions and settings, your security software, and any firewall rule aimed at Chrome. This test narrows things down but doesn’t pinpoint the cause on its own.
- Try another network. Connect the PC to a trusted alternative, such as your phone’s hotspot. If the site works there but not on your usual network, look at the router, DNS filtering and network-level restrictions first. A firewall rule that applies only to one network profile can still be involved.
- Try another device on the same Wi-Fi. If the site fails on several devices, look at router filtering, DNS, network restrictions and whether the site itself is down.
| Where the block comes from | Typical sign | Where to fix it |
|---|---|---|
| Windows Defender Firewall rule | Connection matches an outbound block rule or a restrictive outbound policy | Outbound rules in wf.msc |
| Antivirus web protection | Block page with the antivirus brand | The antivirus app’s allowed or excluded sites |
| Hosts file | Fails in every browser on this PC only | C:\Windows\System32\drivers\etc\hosts |
| Browser extension or setting | Fails in one browser only | Extensions and site settings |
| Parental controls or router filter | Fails on every device on the network | Microsoft Family Safety or the router’s admin page |
| Work or school network | Block page with the organization’s name | Your IT department |
What “Allow an app through firewall” does and doesn’t do
Many guides send you to Windows Security, then Firewall & network protection, then Allow an app through firewall, and tell you to check your browser. That list manages incoming connections. Windows already lets browsers make outgoing connections to websites without an exception, so checking Chrome or Edge there usually won’t fix a site that won’t load. It’s worth a look only if you know someone has changed the firewall settings heavily. The real fix for a firewall block is in the outbound rules.
Remove an outbound rule that blocks the site
A custom outbound rule can block connections by program, remote IP address, port or other conditions. If someone set one up to block a site or an app, this is where it lives. Block rules win over allow rules, so removing the block is the real fix. Only change a rule once you’ve confirmed it’s the cause, and only on a PC you’re allowed to manage.
- Press Windows key + R, type wf.msc and press Enter to open Windows Defender Firewall with Advanced Security.
- Select Outbound Rules in the left pane.
- Look for rules with a red block icon. Sort by the Action column to group them.
- Double-click a rule and check its Program, Protocols and Ports and Scope tabs to see which app, ports and remote IP addresses it covers.
- If it covers the site you need, right-click the rule and choose Disable Rule. Disabling is easy to undo. Delete it only once you’re sure you don’t need it.
To match a rule to a website, find the site’s IP address. Open Command Prompt and run nslookup example.com, using the site’s domain. Large sites use many addresses that change over time, so an IP-based rule may only match some of them.
Can you create a rule that allows one website?
You can create a custom outbound allow rule for a site’s IP address in wf.msc, but it rarely helps. Windows already allows outgoing traffic by default, so an allow rule only matters if your PC is set to block outbound connections, which is unusual on a home PC. It also won’t override a block rule. And because big sites move between IP addresses, a rule built on today’s addresses can stop working later. In most cases, removing the block is the better fix.
Check the hosts file
The hosts file can send a domain to a dead address, and some apps and ad blockers add entries to it. If a site fails in every browser on one PC only, check it.
- Search for Notepad, right-click it and choose Run as administrator.
- Select File, then Open, and go to C:\Windows\System32\drivers\etc. Change the file type to All files and open hosts.
- Save a backup copy of the file before you change anything.
- Look for a line that contains the website’s domain, often starting with 0.0.0.0 or 127.0.0.1.
- If you recognize it as an unwanted entry, put a # at the start of that line to disable it, save the file and restart the browser. Don’t change entries that your organization or security software manages.
Antivirus and security suites
Security suites such as Norton, McAfee, Bitdefender and Avast may include web filtering, a firewall or both. Some manage network traffic on their own, while others work alongside Windows Defender Firewall. When one of them blocks a site, Windows settings won’t change anything. Check which component shows the block, then open the security app and add the site to its allowed, trusted or excluded list. The wording differs between products.
If the antivirus flags the site as dangerous, take that seriously. Allow it only if you know the site is legitimate.
Browser, parental controls, router and work networks
- Browser: turn off extensions one at a time, especially ad blockers and privacy tools, and reload the site. Also check the site’s permissions by clicking the icon at the left of the address bar.
- Parental controls: Microsoft Family Safety can block sites for child accounts, and its website filtering works mainly through Microsoft Edge. A parent or family organizer can review blocked sites and allow them in Family Safety.
- Router: many routers have content filters or parental controls in their admin page or app. DNS services with filtering can block sites too.
- Work or school: organization networks and managed laptops use their own filters. Only the IT team can allow a site, and trying to get around their block may break your organization’s rules.
Should you turn off the firewall?
No. Turning off Windows Defender Firewall leaves your PC open to unwanted incoming connections, and it usually doesn’t fix a blocked website anyway, because the block is rarely in the firewall. Fix the specific rule or setting instead.
Related Windows guides
- Google keeps redirecting to your school login
- How to pin Gmail to the taskbar
- Where user profiles are stored in the Windows registry
Frequently asked questions
How do I tell if my firewall is blocking a website?
Try the site in another browser and on another network. If it fails only on this PC in every browser, check the firewall’s outbound rules and the hosts file. If it fails only in one browser, check its extensions, your security software and any outbound firewall rule aimed at that browser.
How do I unblock a website from my firewall?
Open wf.msc, go to Outbound Rules, find the block rule that covers the site’s IP address and disable it. If you use a third-party security suite, add the site to its allowed list instead.
How do I allow a website through the firewall in Chrome?
Chrome doesn’t have a firewall of its own, and Windows lets it reach websites by default. Check for an outbound rule in wf.msc that blocks chrome.exe, then check your extensions and security software.
How do I turn off firewall restrictions?
Open Windows Security, then Firewall & network protection, and check which network profile is active. If a specific rule is blocking a trusted connection, fix or disable that rule instead of turning off the whole firewall. On a managed computer, contact your IT administrator.
Does the Mac firewall block websites?
No. The built-in macOS firewall only controls incoming connections. A blocked site on a Mac comes from a security app, a browser extension, Screen Time content limits or the network.
How do I turn off website blocking?
Turn off the specific tool doing the blocking, such as the antivirus web filter, the browser extension or the parental control rule, rather than the whole firewall.


