Guides

9 min readUpdated

Your IP has been temporarily blocked: why it happens and how to fix it

Quick answer

"Your IP has been temporarily blocked" means a website, or a firewall or CDN in front of it, has stopped serving your public IP address for a while. Common triggers are too many requests, repeated failed logins, a reputation list, a country rule, or an address shared with strangers through a VPN, Tor, a mobile carrier or an office. A temporary block lifts once the traffic stops; a ban stays until the owner removes it. Wait, try another network, and send the site the reference ID shown on the block page.

01What does "Your IP has been temporarily blocked" mean?

Every request carries your public IP address: the address of your home router, mobile carrier, VPN server or office network, not of your own device (what is an IP address?). A block message means something handling the site's traffic now refuses that address: the application, a security plugin, the web server, a web application firewall or CDN in front of it, or a firewall on the server.

There is no standard wording. A rate limit should answer 429 Too Many Requests, which RFC 6585 defines for a client that "has sent too many requests in a given amount of time", optionally with a Retry-After header. A rule answers 403 Forbidden: the server "understood the request but refuses to fulfill it" (RFC 9110). A server firewall sends no page at all, so the browser shows a connection error.

02Which message do you see?

The wording depends on the software that blocked you. Find the closest match, then read the section in the last column.

MessageUsually shown byRead next
Your IP has been temporarily blockedAn application, forum, game login or security plugin; many products use this or similar wordingWhy your IP was blocked
Too many requests, please try again later.express-rate-limit for Node.js (its default text, status 429) and similar rate limitersTemporary block or ban: how to tell
Access Denied: Your IP address has been bannedCloudflare errors 1006, 1007, 1008 or 1106: the site owner blocked your addressWhat to send when you contact the site
Sorry, you have been blockedCloudflare's default page when a security rule blocks a requestWhat to send when you contact the site
Access Denied: Country or region bannedCloudflare error 1009: the owner blocks the country your address is located inWhy your IP was blocked
Access Denied / You don't have permission to access ... on this server. Reference #18...Akamai; Microsoft documents it for its own sites when one network connects too oftenBlocked without doing anything? Shared addresses
Our systems have detected unusual traffic from your computer network.Google Search, when your network seems to send automated searchesBlocked without doing anything? Shared addresses
403 Forbidden, or 503 Service Temporarily Unavailable, with nginx in the footerThe site's nginx: an address rule, or a rate limit at nginx's default statusSite owners: find what blocked the visitor
ERR_CONNECTION_REFUSED or a timeout on one site, which works on mobile dataA firewall on the site's server, such as fail2banSite owners: find what blocked the visitor

03Why your IP was blocked

Sites rarely state the exact reason, partly because it would help attackers adjust. These are the usual causes; rate limiting is explained separately.

CauseWhat happenedTypical sign
Rate limitRapid reloading, many tabs, a prefetching extension, a script or a download managerStatus 429, a time to wait
Failed loginsWrong passwords, often from a phone or mail app retrying an old one; lockouts stop guessing and credential stuffingBlocked at sign-in
Reputation listYour address is listed as a source of spam, attacks or compromised devicesBlocked on unrelated sites
Shared addressA VPN, Tor, iCloud Private Relay, mobile carrier or office network puts strangers behind your addressBlocked without doing much
Country ruleThe site refuses your country, or a geolocation database places your address wronglyA message naming a country
Automated-looking trafficA script, monitoring device or malware on your networkBlocks or puzzles on large sites
Request contentCode or SQL-like text in a form matched a security rule; some tools then block the addressBlocked after submitting a form

04Blocked without doing anything? Shared addresses

Most often you share the address with someone who did. RFC 6269, the IETF's review of address sharing, warns that "one user who fails a number of login attempts may block out other users". Mobile and some home providers share addresses through carrier-grade NAT (RFC 6598 reserved 100.64.0.0/10 for it), Apple asks sites to treat iCloud Private Relay addresses like carrier-grade NAT, and VPN and Tor exits are shared by everyone using them. Microsoft documents that its Akamai-hosted sites answer "Access Denied" when one source connects too often, for example a company device testing connectivity at too short an interval.

Reputation lists are the other route: Spamhaus names "Free VPN" type apps that use a customer's device as a proxy for strangers as one cause of listings on its Exploits Block List.

05Temporary block or ban: how to tell

Open the browser's developer tools (F12 in most browsers), choose the Network tab and reload: the first request shows the status code and headers. Retry-After gives the wait in seconds or as a date (RFC 9110). Rate limits are covered in 429 Too Many Requests and error 1015.

What you seeMost likelyWhat helps
"Temporarily", a countdown, or status 429 with Retry-AfterA rate limit or lockoutWaiting, then slowing down
Status 403 with "banned" or "access denied" and no timeAn owner's rule or an automatic banContacting the site
A country or region namedA geographic ruleOnly the owner can change it
A connection error on one site that works on mobile dataA firewall ban, often for a fixed timeWaiting, or asking the owner
Blocks on many unrelated sitesA reputation problemChecking for malware and listings
Read the status and headers with curl (Date, Content-Length and Connection removed; example output, wording varies by version)
$ curl -s -o /dev/null -D - https://example.com/login
HTTP/1.1 429 Too Many Requests
Server: nginx/1.22.1
Content-Type: text/plain
Retry-After: 60

06How to get unblocked as a visitor

Work through these in order. Clearing cache or cookies rarely helps: the block is on your address, not your browser.

  • Stop reloading and close other tabs on the site; every attempt counts against the limit
  • Wait as long as the page or Retry-After says; with no time shown, try again after an hour
  • Test your phone on mobile data with Wi-Fi off; if the site works, the block is on your address
  • Turn off your VPN, proxy, Tor Browser or iCloud Private Relay for the site
  • Update saved passwords on phones and mail apps, disable prefetching or auto-refresh extensions, and stop scripts
  • Scan your devices, and others on your network, for malware
  • Look up your address with the IP lookup tool and check it at check.spamhaus.org, where Spamhaus handles removals from its exploits list

07What to send when you contact the site

If waiting and another network do not help, only the site can lift the block; Cloudflare's documentation states that its support cannot override a customer's security settings. Use a contact route outside the blocked site and send:

  • The exact message, or a screenshot of the whole page
  • The reference shown, such as a Cloudflare Ray ID or an Akamai Reference #
  • Date and time, with your time zone, and your public IP address
  • What you were doing: the page, a sign-in, a form or an app

08Site owners: find what blocked the visitor

Work from the outside in: a block at the CDN or WAF never reaches your server, and a firewall ban never reaches the web server. nginx logs an address rule as "access forbidden by rule" and a rate limit as "limiting requests" with the excess and the zone name. fail2ban's stock iptables action rejects banned addresses with ICMP port unreachable, which browsers typically show as ERR_CONNECTION_REFUSED.

What the visitor sawLayerWhere to look
A provider page with a Ray ID or Reference #CDN or WAFThe provider's security events, by reference, address or time
The site's own design or a plugin noticeApplication or pluginThe plugin's block list or the application log
Plain 403 or 503 with the server's name in the footerWeb server or reverse proxyThe error log
A connection error while others get throughServer firewall, fail2banfail2ban-client and the ruleset
Many visitors at once, all via your CDNOrigin limits that see the CDN's addressesReal client IP configuration
Find who holds an address (203.0.113.7 is a documentation example; fail2ban syntax from the fail2ban-client 1.0.2 manual)
grep 'client: 203.0.113.7,' /var/log/nginx/error.log | grep -E 'access forbidden by rule|limiting requests'
fail2ban-client banned 203.0.113.7     # which jails hold it
fail2ban-client status sshd            # one jail's current bans
nft list ruleset | grep -n '203.0.113.7'
iptables -S | grep '203.0.113.7'

09How to unblock or allowlist an address safely

Unblock in the layer that blocked. In fail2ban, fail2ban-client set <jail> unbanip <IP> releases one jail and fail2ban-client unban <IP> releases all jails and the database; ignoreip in a .local file (the jail.conf manual advises against editing .conf files) stops future bans. In a CDN or WAF, add an exception to the rule that misfired, not to the whole site.

Check that you have the visitor's address. Behind a proxy, your server sees the proxy's address, and banning it blocks everyone behind that proxy. Restore client addresses only from trusted ranges (nginx real IP), and never trust an X-Forwarded-For header a client could set.

  • Allowlist the narrowest thing: one address or a range you control, for one rule
  • Never allowlist a whole provider, carrier, VPN or cloud range
  • Record who asked, the reference ID and the date, and review entries later
/etc/fail2ban/jail.local (check with fail2ban-client -t, then fail2ban-client reload)
[DEFAULT]
# loopback, monitoring host, office range (documentation examples)
ignoreip = 127.0.0.1/8 ::1 192.0.2.10 198.51.100.0/24

10How to avoid blocking real visitors

Most false positives come from treating one address as one person.

  • Limit per route: strict on sign-in, password reset, search and write APIs; generous on pages and static files
  • Count failed logins per account as well as per address
  • Answer rate limits with 429 and Retry-After; nginx sends 503 unless limit_req_status says otherwise, which looks like an outage
  • Exempt uptime monitors, webhook senders and your own services
  • Measure first: nginx's limit_req_dry_run (1.17.1 and later) counts without rejecting
  • Restrict rather than ban anonymity networks; the Tor Project suggests reserving privileges such as posting for registered users
  • Be careful with blocklists built for email: Spamhaus says providers should not use its exploits list "to deny access to web-forums, journals or blogs"

11A block page with a reference ID in nginx

The $request_id variable (nginx 1.11.0 and later) is unique per request; shown on the block page and logged, it turns a visitor's screenshot into one log line. The geo and map blocks give the monitoring host an empty key, and nginx does not count requests with an empty key. Without limit_req_status, the same limit answered 503.

Sign-in limit with 429, Retry-After and a reference ID, monitoring host exempt (a static file stood in for the sign-in handler, addresses replaced; passes nginx -t, nginx 1.22.1)
# in http {}
geo $limited { default 1; 192.0.2.10 0; }   # monitoring host
map $limited $limit_key { 0 ""; 1 $binary_remote_addr; }
limit_req_zone $limit_key zone=login:10m rate=6r/m;
log_format withid '$remote_addr [$time_local] "$request" $status rid=$request_id';

# in server {}
access_log /var/log/nginx/access.log withid;
location = /login {
    limit_req zone=login burst=2 nodelay;
    limit_req_status 429;
    error_page 429 @limited;
    # your existing proxy_pass or try_files line
}
location @limited {
    default_type text/plain;
    add_header Retry-After 60 always;
    return 429 "Too many attempts. Try again in a minute.\nReference: $request_id\n";
}

Questions

Frequently asked questions

01How long does "Your IP has been temporarily blocked" last?
Each site sets its own duration. Many rate limits clear soon after you stop; lockouts and firewall bans last as long as the owner configured. Wait at least as long as the page or Retry-After says, and if you are still blocked the next day, contact the site.
02Why is my IP blocked when I didn't do anything?
Usually because you share the address. VPN and Tor exits, iCloud Private Relay, carrier-grade NAT and office networks put many people behind one address. A background app with an old password, an extension or malware on another device can also trigger it.
03Will a VPN unblock my IP?
Sometimes, because it gives you a different address. But VPN exits are shared and often limited, and evading a deliberate ban can break the site's terms. If you already use one, turning it off is the first thing to try.
04What is the difference between an IP block and an account ban?
An IP block follows your network address: you are refused before signing in, and another network usually works. An account ban follows your login on every network.
05How do I unban an IP address in fail2ban?
Run fail2ban-client banned <IP> to find the jails, then fail2ban-client set <jail> unbanip <IP> for one jail or fail2ban-client unban <IP> for all. Add the address to ignoreip in a .local file, test with fail2ban-client -t and reload to stop it being banned again.

Sources

Sources and verification

Checked on 13 November 2026 on Debian 12: the nginx configuration in “A block page with a reference ID in nginx” passes nginx -t (nginx 1.22.1). Other configuration, commands, log lines and output on this page are examples: adapt them to your system and check them before use.

  1. 01RFC 6585: Additional HTTP Status Codes, section 4 (429 Too Many Requests) · RFC Editor
  2. 02RFC 9110: HTTP Semantics, sections 10.2.3 (Retry-After) and 15.5.4 (403 Forbidden) · RFC Editor
  3. 03RFC 6269: Issues with IP Address Sharing, section 13 · RFC Editor
  4. 04RFC 6598: IANA-Reserved IPv4 Prefix for Shared Address Space · RFC Editor
  5. 05Error 1006, 1007, 1008 or 1106: Access Denied, your IP address has been banned · Cloudflare docs
  6. 06Error 1009: Access Denied, country or region banned · Cloudflare docs
  7. 07Error 1020: Access denied · Cloudflare docs
  8. 08Custom errors: error page types · Cloudflare docs
  9. 09Slashing agent token costs by 98% with RFC 9457-compliant error responses (11 March 2026) · Cloudflare blog
  10. 10Access Denied when you visit Microsoft websites hosted on Akamai CDN · Microsoft Learn
  11. 11Resolve Google Search's "Unusual traffic from your computer network" message · Google Search Help
  12. 12Prepare your network or web server for iCloud Private Relay · Apple Developer
  13. 13Banning Tor · Tor Project Support
  14. 14Exploits Blocklist (XBL) · Spamhaus
  15. 15express-rate-limit source: default message and status code · express-rate-limit on GitHub
  16. 16Module ngx_http_limit_req_module · nginx.org
  17. 17Module ngx_http_core_module: $request_id and error_page · nginx.org
  18. 18Module ngx_http_geo_module · nginx.org
  19. 19fail2ban-client(1) manual, Fail2Ban 1.0.2 · Debian manpages
  20. 20jail.conf(5) manual: ignoreip and .local files · Debian manpages
  21. 21fail2ban action.d/iptables.conf: default blocktype · fail2ban on GitHub

Last updated