How to fix error 1005 “Access denied” when visiting websites

Error 1005 “Access Denied” means the website owner has used Cloudflare to ban the Autonomous System Number (ASN) of the network you are connecting from, so the fix is to reach the site from a different network or ask the owner to allow yours.

This guide covers the visitor fixes, what to send the site owner, the steps for site owners on Cloudflare, and which common tips do not affect a 1005 block.

How to Fix Error 1005 “Access Denied” When Visiting Websites
Error 1005 means the site owner has banned the autonomous system number (ASN) your connection comes from. (Image: developers.cloudflare.com)

Fix Cloudflare error 1005 access denied fast

An ASN identifies a whole network, such as your internet provider, a mobile carrier, a hosting company or a VPN service. A 1005 block applies to every address on that network, not just to you.

  1. Turn off your VPN or proxy if one is on, then reload the page.
  2. If no VPN was on, switch networks, for example from home Wi-Fi to mobile data, and reload.
  3. If the page still shows error 1005, take a screenshot of the full error page, including the Ray ID and the time.
  4. Send the screenshot to the website owner through their contact email or social account and ask them to allow your network.

What does error 1005 access denied mean?

Cloudflare shows several similar access-denied codes. The number tells you what the site owner blocked.

Error code What the site owner blocked What helps a visitor
1005 Your network's Autonomous System Number (ASN) A different network, or the owner allowing the ASN
1006, 1007, 1008 or 1106 Your IP address A different IP address, or the owner removing the ban
1009 Your country or region Only the owner can change it
1010 Your browser's signature Contacting the site owner

All of these return HTTP status 403 to the browser. The block is set on the website's side, so nothing on your PC caused it.

Turn on or off your VPN or proxy server

Many site owners ban the ASNs of VPN and hosting providers. Turning a VPN off moves you back to your home provider's ASN. If your home provider is the banned one, turning on a free VPN such as Cloudflare WARP moves you to another ASN.

  1. Disconnect your VPN app, or connect to a different VPN server, then reload the page.
  2. To check a Windows proxy, open Settings > Network & internet > Proxy.
  3. Under Manual proxy setup, select Set up next to Use a proxy server.
  4. Turn off Use a proxy server unless your workplace requires it, then select Save.
  5. Close and reopen the browser, then load the site again.

Fix your computer’s date and time settings

A wrong clock causes certificate errors rather than error 1005. Fix it if your clock is off, because a security warning page can hide the real error.

  1. Select Start > Settings > Time & language > Date & time.
  2. Turn on Set time automatically.
  3. Turn on Set time zone automatically, or pick your time zone manually.
  4. Reload the website.

Clear your web browser’s cache and cookies

Clearing site data does not change your ASN, so it does not lift a 1005 ban. It does rule out a stale cached copy of an old error page after the owner has unblocked you.

  1. Open Chrome and select More (three dots) at the top right.
  2. Select Delete browsing data.
  3. Choose a time range, such as All time.
  4. Select Cookies and other site data.
  5. Select Delete data, then reload the page.
Clear browser cache and cookies in Chrome with Delete browsing data steps
Pick a time range such as All time, tick Cookies and other site data, then select Delete data. (Image: Google)

Turn off your computer’s antivirus program and temporarily disable your computer’s firewall: do they fix 1005?

Your antivirus and Windows firewall run on your PC. Error 1005 is generated by Cloudflare on the website's side, after it reads which network your traffic comes from.

Keep your antivirus and firewall turned on; switching them off does not change your ASN and cannot remove a 1005 ban. Cloudflare's own documentation lists only one cause for error 1005, a banned ASN set by the site owner, so the fix is a different network or the owner's allow rule.

Switch to alternate DNS servers for error 1005

DNS turns a site name into an address. Changing DNS servers changes who answers that lookup, not the network your traffic leaves from.

Change Does it change your ASN? Effect on error 1005
Switch to alternate DNS servers No The block stays
Turn a VPN on or off Yes Can lift the block
Switch from Wi-Fi to mobile data Yes Can lift the block
Restart the router No, same provider The block usually stays

If you still want to change DNS for other reasons, Windows sets it in Settings > Network & internet, under the network's IP assignment > Edit options, in the Preferred DNS and Alternate DNS boxes.

Fix error 1005 as a Cloudflare website owner

If visitors report error 1005 on your own site, Cloudflare's guidance is to find the event and allow the ASN.

  1. Ask the visitor for a screenshot of the 1005 error page.
  2. In the Cloudflare dashboard, open Security > Events.
  3. Search for the Ray ID or the visitor's client IP address from the screenshot.
  4. Convert the error's UTC timestamp to your local time zone when you search.
  5. Find the rule that blocked the request, then make sure the ASN is allowed under IP Access Rules.

Resolve your “access denied” issue and access your favorite sites

  1. Reload the website after each change and check the error number on the page.
  2. If the code changes from 1005 to 1006, 1007 or 1008, your network is now allowed but your IP address is banned.
  3. If the page loads normally, keep the network setup that worked for that site.
  4. If error 1005 returns on every network you try, wait for the site owner's reply, since only they can lift the ban.

Error 1005 access denied still showing

Error 1005 on every VPN server

The site owner has banned many VPN providers' ASNs.

  1. Disconnect the VPN completely.
  2. Load the site over your normal home or mobile connection.
  3. Contact the site owner if your normal connection is also blocked.

Error 1005 at work or school but not at home

Your organisation's network, or its proxy provider, sits in a banned ASN.

  1. Load the site on mobile data to confirm.
  2. Ask your IT team whether traffic passes through a proxy or security gateway.
  3. Send the site owner the Ray ID so they can review the block.

Error 1005 on one site only

The ban is that site's own Cloudflare rule.

  1. Take a screenshot showing the Ray ID and time.
  2. Send it to the site owner.
  3. Use the site's official app or another network until they reply.

Cloudflare error 1005 FAQ

What is error 1005 access denied?

Error 1005 is a Cloudflare error that means the website owner banned the Autonomous System Number (ASN) your connection comes from. An ASN identifies a whole network, such as an internet provider, VPN or hosting company.

Is error 1005 caused by my computer?

No. The block is set by the website owner in Cloudflare and applies to your network. Settings on your PC, such as antivirus, firewall or DNS, do not trigger or remove it.

Does a VPN fix error 1005?

It can. A VPN moves your traffic to a different network ASN. If the banned ASN belongs to your VPN provider, turning the VPN off fixes it instead.

Who can remove a 1005 block?

Only the website owner. They search Cloudflare's Security > Events log for your Ray ID, then allow your network's ASN under IP Access Rules.

What is the Ray ID on a Cloudflare error page?

The Ray ID is a unique identifier for your blocked request. The site owner uses it to find the exact event in the Cloudflare Security Events log, so include it when you report the error.

Will clearing cookies fix error 1005?

No. Cookies and cache do not identify your network, so clearing them leaves an ASN ban in place. Clear them only to remove a cached error page after the owner has unblocked you.

Philip Celasco

Philip is a Texas-based technology writer and IT administrator at Techdows.com with more than 10 years of experience creating practical content for everyday users and professionals. He specializes in web browsers, particularly Chromium-based platforms such as Google Chrome, Microsoft Edge, Brave, and Opera. Through his work as an IT administrator, Philip has hands-on experience managing devices, configuring browser policies, troubleshooting software and network issues, and helping people resolve problems that affect productivity and security. His articles are based on practical testing and real-world technical experience. He covers browser settings, extensions, performance problems, privacy controls, security features, and Windows troubleshooting. Outside work, Philip enjoys the quieter side of life in Texas and stepping away from the screen when he can. He has two kids, two cats and loves to play golf with his mother during the weekends.

Leave a Reply

Your email address will not be published. Required fields are marked *