Lab-tested: IP blocklist, two source addresses (Python 3.13.5) · 2 Dec 2026 · Reproduced and fixed in our lab
Fix Box — Try this first (10 seconds)
Test from another network, like mobile data. If the site loads there, your IP is blocked, not the site. Then whitelist your IP in the security plugin, host firewall, or Cloudflare.
The pillar guide shows how to confirm which layer holds the block.
What an IP-block 403 looks like
You see 403 everywhere on the site. Other people open it without trouble. The block follows your network, not your account or your browser.
Login-protection plugins block IPs after failed attempts. Host firewalls do the same after abuse reports. Cloudflare IP Access Rules can block by address, range, ASN, or country.
The two-minute confirmation test
Open the site from a different network. Mobile data works well for this. If the page loads, the block is tied to your first network’s IP.
Then check the reverse: ask someone else to open the site. If they succeed, your site is fine. You are the only one locked out.
Our lab test: one address blocked, one address fine
We reproduced an IP block on a local lab server on 2 Dec 2026. We put one loopback address, 127.0.0.1, on a blocklist.
Then we requested the same page from two source addresses.
The blocked address returned 403. The log recorded the rule firing:
2026/12/02 02:00:08 [error] access forbidden by rule, client: 127.0.0.1, server: lab403, request: "GET /index.html HTTP/1.1"
The other address, 127.0.0.2, returned 200 for the same page. Same server, same file, different source IP. That split is the fingerprint of an IP block.
Removing the address from the blocklist restored 200 immediately. We also tested the mirror case: an allowlist rule (Require ip) that admits one address.
The admitted address returned 200, and the other returned 403.
Step-by-step fix
First, confirm with the two-network test above. Do not whitelist blindly. You need to know the block is IP-based before you change rules.
Second, find your current public IP. Your router or a “what is my IP” page shows it. Note that home IPs change, so a whitelist can go stale.
Third, whitelist that IP at the layer that blocked you. In a security plugin, use its allowlist setting.
In Cloudflare, create an IP Access Rule with the Allow action for your address.
Fourth, if your host runs the firewall, open a support ticket. Give them your IP and the exact time of a failed request.
Hosts unblock faster with a timestamp.
Still locked out? The block may be a range, not a single address. Our Cloudflare guide shows how to read Security Events.
The Decision Tree separates IP blocks from rule blocks.
What Did Not Work
Restarting the browser changed nothing in our test. The block is decided by source IP before the page loads. Cookies and cache are irrelevant here.
Whitelisting a single address also failed when the rule blocked a whole range. Our allowlist test proved the mirror: one admitted address worked, its neighbor did not.
Check whether the rule names your address or your whole subnet.
Prevention
Whitelist your own IP before enabling aggressive login protection. Keep a second way in, like host panel access.
Note when your home IP changes, and update the whitelist then.
FAQ
Frequently Asked Questions
Why did I get blocked in the first place?
Usually repeated failed logins or a firewall abuse trigger. Sometimes a whole range is blocked because of a neighbor. The timestamp of your first 403 helps support identify the trigger.
My IP changes often. What then?
Ask your host or plugin for a range whitelist, or use a VPN with a fixed exit IP. Update the whitelist whenever the address changes.
Is an IP block the same as a WAF block?
Not quite. A WAF rule can block by behavior, not just address. If the error page shows a Ray ID, read the [Cloudflare guide](/403-forbidden-cloudflare/) instead.
Sources and date
Lab test: 2 Dec 2026, local lab server on our SI machine (Python 3.13.5). The lab used two loopback source addresses, 127.0.0.1 and 127.0.0.2, not public internet addresses.
The blocklist and allowlist behavior emulates plugin and firewall IP rules. Log lines above are verbatim.
References
- RFC 9110 §15.5.3 — 403 Forbidden: https://www.rfc-editor.org/rfc/rfc9110.html
- MDN Web Docs — 403 Forbidden: https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/403
- Cloudflare — Create an IP access rule: https://developers.cloudflare.com/waf/tools/ip-access-rules/create/
- Apache HTTP Server — Access control how-to: https://httpd.apache.org/docs/2.4/howto/access.html





Leave a Reply