Cloudflare error 1006: this IP address is banned
Error 1006 means the owner of the website has banned the IP address the request came from. Errors 1007, 1008 and 1106 carry the same message. Through a proxy that address is the exit's, not yours, so the ban may be the result of what an earlier user of the exit did. Cloudflare returns HTTP 403, and only the site owner can lift the ban.
Reviewed by John Hale. Last updated .
What it looks like
Error 1006
Access Denied: Your IP address has been bannedHTTP/2 403
server: cloudflare
cf-ray: ...What does error 1006 mean?
Cloudflare's documentation lists 1006, 1007, 1008 and 1106 together under one message, that your IP address has been banned, and one cause: a Cloudflare customer blocked traffic from your client. The customer is the website. Cloudflare applies the rule and does not choose its targets.
It is the narrow member of a family. Error 1005 bans a whole network by its ASN, error 1009 a country or region, and error 1006 one address or a range the owner listed.
What causes error 1006 through a proxy?
Most likely first.
- The exit was banned before you used it. On a shared or rotating proxy, the address carries its history. If someone abused the site from it, the owner's ban meets you too.
- Your own traffic earned the ban. Owners and their tools add addresses to a block list after scraping bursts, repeated failed logins or attack-like requests.
- A range, not one address. A rule on a range refuses every address in it. Several exits from the same provider failing the same way points to this, or to an ASN ban reported as 1005.
- A static address with a permanent ban. A dedicated or static IP keeps its ban until the owner removes it. Waiting does not clear a rule someone wrote by hand.
How do you tell whose address was banned?
Confirm the code and keep the Ray ID
The code and the Ray ID are in the page body. The Ray ID identifies this one request, and the owner can use it to find the rule.
Status, sender and codecurl -s -o body.html -D - -x http://HOST:PORT -U "USER:PASS" https://TARGET/ | grep -iE "^HTTP/|^server:|^cf-ray:" grep -oiE "error code: [0-9]{4}|error [0-9]{4}" body.html | head -1Compare three requests
Without the proxy, through the proxy, and through the proxy on a new exit. Blocked only on one exit: that address is banned. Blocked on every exit: a range, a network or something about the request itself. Blocked without the proxy too: your own address is on the list.
Direct, then through the proxycurl -s -o /dev/null -w "direct: %{http_code}\n" --noproxy '*' https://TARGET/ curl -s -o /dev/null -w "proxy: %{http_code}\n" -x http://HOST:PORT -U "USER:PASS" https://TARGET/
What can you do about error 1006?
Ask the site owner
Cloudflare's resolution is to ask the website owner to look at their security settings or allow your address. Send the Ray ID and the time of the error. Cloudflare support cannot override a customer's security settings.
If the exit's history is the cause, take another exit
A rotating session leaves from a different address on the next request, and a sticky session gets a new one when you change its ID. That is a remedy for inheriting someone else's ban. It is not one for a ban on what you are doing: read the site's terms, because a new address does not make a refused request permitted.
Fix what earned it
If your own traffic was the reason, the next address is banned the same way. Lower the rate, stop retrying failed logins, and use the site's API where it has one.
If the site is yours
Find the event by Ray ID or IP in the Security Events log and check IP Access Rules, Zone Lockdown and custom rules. Cloudflare notes that 1006 also appears in the Workers preview when a rule blocks the Google Cloud addresses the preview relies on.
If you use TrueProxies
Error 1006 arrives inside the tunnel and is the website's answer about the exit's address. The gateway's own refusals are 407 with a reason in X-Proxy-Reason.
On Residential plans, leave the session off to rotate per request, or change the session ID in the username to move a sticky session to a new exit. A Static ISP address is yours alone for its term, so a ban on it follows from traffic sent through it during that term, and it stays until the site's owner lifts it.
Under the acceptable use policy you are responsible for following the terms of every site you reach through the service.
Test the proxy from outside your network
The free proxy checker connects from our servers and reports the failed stage as a code, so you can tell a proxy problem from one on your computer or network.
Questions about Error 1006: Access denied (IP banned)
What is error 1006?
A Cloudflare error that means the website's owner banned the IP address your request came from. It comes with HTTP status 403.
What is the difference between error 1006, 1007 and 1008?
None that a visitor can act on. Cloudflare documents 1006, 1007, 1008 and 1106 together, with the same message and the same resolution.
Is the ban on my IP or on the proxy's?
On the address the site saw. Through a proxy that is the exit's address. Request the page without the proxy to see whether your own address is refused too.
How long does error 1006 last?
Until the owner's rule changes. Cloudflare gives no expiry for it, and its support cannot remove it for a visitor.
Related errors
Error 1005: Access denied (ASN banned)
The site owner banned the whole network your exit is on. What an ASN is and what can change.
Error 1015: You are being rate limited
The website's own rate limit, enforced by Cloudflare: who set it, what it counts and what to change.
Sorry, you have been blocked
Cloudflare's firewall block page, and error 1020 Access denied: what in the request matched a rule.
The proxy checker error codes page maps each checker code to the stage that failed, and proxy errors explained covers timeouts and slow connections.