Guides
9 min readUpdatedYour 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.
| Message | Usually shown by | Read next |
|---|---|---|
| Your IP has been temporarily blocked | An application, forum, game login or security plugin; many products use this or similar wording | Why 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 limiters | Temporary block or ban: how to tell |
| Access Denied: Your IP address has been banned | Cloudflare errors 1006, 1007, 1008 or 1106: the site owner blocked your address | What to send when you contact the site |
| Sorry, you have been blocked | Cloudflare's default page when a security rule blocks a request | What to send when you contact the site |
| Access Denied: Country or region banned | Cloudflare error 1009: the owner blocks the country your address is located in | Why 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 often | Blocked without doing anything? Shared addresses |
| Our systems have detected unusual traffic from your computer network. | Google Search, when your network seems to send automated searches | Blocked without doing anything? Shared addresses |
| 403 Forbidden, or 503 Service Temporarily Unavailable, with nginx in the footer | The site's nginx: an address rule, or a rate limit at nginx's default status | Site owners: find what blocked the visitor |
| ERR_CONNECTION_REFUSED or a timeout on one site, which works on mobile data | A firewall on the site's server, such as fail2ban | Site 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.
| Cause | What happened | Typical sign |
|---|---|---|
| Rate limit | Rapid reloading, many tabs, a prefetching extension, a script or a download manager | Status 429, a time to wait |
| Failed logins | Wrong passwords, often from a phone or mail app retrying an old one; lockouts stop guessing and credential stuffing | Blocked at sign-in |
| Reputation list | Your address is listed as a source of spam, attacks or compromised devices | Blocked on unrelated sites |
| Shared address | A VPN, Tor, iCloud Private Relay, mobile carrier or office network puts strangers behind your address | Blocked without doing much |
| Country rule | The site refuses your country, or a geolocation database places your address wrongly | A message naming a country |
| Automated-looking traffic | A script, monitoring device or malware on your network | Blocks or puzzles on large sites |
| Request content | Code or SQL-like text in a form matched a security rule; some tools then block the address | Blocked after submitting a form |
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 see | Most likely | What helps |
|---|---|---|
| "Temporarily", a countdown, or status 429 with Retry-After | A rate limit or lockout | Waiting, then slowing down |
| Status 403 with "banned" or "access denied" and no time | An owner's rule or an automatic ban | Contacting the site |
| A country or region named | A geographic rule | Only the owner can change it |
| A connection error on one site that works on mobile data | A firewall ban, often for a fixed time | Waiting, or asking the owner |
| Blocks on many unrelated sites | A reputation problem | Checking for malware and listings |
$ 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: 6006How 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 saw | Layer | Where to look |
|---|---|---|
| A provider page with a Ray ID or Reference # | CDN or WAF | The provider's security events, by reference, address or time |
| The site's own design or a plugin notice | Application or plugin | The plugin's block list or the application log |
| Plain 403 or 503 with the server's name in the footer | Web server or reverse proxy | The error log |
| A connection error while others get through | Server firewall, fail2ban | fail2ban-client and the ruleset |
| Many visitors at once, all via your CDN | Origin limits that see the CDN's addresses | Real client IP configuration |
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
[DEFAULT]
# loopback, monitoring host, office range (documentation examples)
ignoreip = 127.0.0.1/8 ::1 192.0.2.10 198.51.100.0/2410How 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.
# 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.
- 01RFC 6585: Additional HTTP Status Codes, section 4 (429 Too Many Requests) · RFC Editor
- 02RFC 9110: HTTP Semantics, sections 10.2.3 (Retry-After) and 15.5.4 (403 Forbidden) · RFC Editor
- 03RFC 6269: Issues with IP Address Sharing, section 13 · RFC Editor
- 04RFC 6598: IANA-Reserved IPv4 Prefix for Shared Address Space · RFC Editor
- 05Error 1006, 1007, 1008 or 1106: Access Denied, your IP address has been banned · Cloudflare docs
- 06Error 1009: Access Denied, country or region banned · Cloudflare docs
- 07Error 1020: Access denied · Cloudflare docs
- 08Custom errors: error page types · Cloudflare docs
- 09Slashing agent token costs by 98% with RFC 9457-compliant error responses (11 March 2026) · Cloudflare blog
- 10Access Denied when you visit Microsoft websites hosted on Akamai CDN · Microsoft Learn
- 11Resolve Google Search's "Unusual traffic from your computer network" message · Google Search Help
- 12Prepare your network or web server for iCloud Private Relay · Apple Developer
- 13Banning Tor · Tor Project Support
- 14Exploits Blocklist (XBL) · Spamhaus
- 15express-rate-limit source: default message and status code · express-rate-limit on GitHub
- 16Module ngx_http_limit_req_module · nginx.org
- 17Module ngx_http_core_module: $request_id and error_page · nginx.org
- 18Module ngx_http_geo_module · nginx.org
- 19fail2ban-client(1) manual, Fail2Ban 1.0.2 · Debian manpages
- 20jail.conf(5) manual: ignoreip and .local files · Debian manpages
- 21fail2ban action.d/iptables.conf: default blocktype · fail2ban on GitHub
Last updated