Code came up

We asking all new users to read the articles below, before creating their first posting or thread.

  • 4. Instruction Articles

    • Please note, in this forum are only English threads and postings allowed, without any exception!

      Please follow the forum rules, thank you for your understanding.

  • Understanding Error 521

    Error 521 is a specific HTTP status code that indicates that the web server is down or refusing connections from Cloudflare. This error is generated when Cloudflare, acting as a reverse proxy, attempts to connect to the origin server but is unable to do so.

    Common Causes of Error 521

    The following are the primary reasons for encountering a 521 error:

    • Origin Server Offline: The web server hosting the website may be down or undergoing maintenance.
    • Firewall Issues: The server's firewall may be configured to block requests from Cloudflare's IP addresses, preventing a successful connection.
    • Misconfigured DNS Settings: Incorrect DNS records can lead to Cloudflare being unable to locate the origin server.
    • Server Overload: If the server is overwhelmed with requests, it may refuse additional connections, resulting in a 521 error.

    How to Fix Error 521

    To resolve a 521 error, consider the following steps:

    1. Check Server Status: Ensure that the origin server is running and accessible. You can use tools like Ping or Traceroute to test connectivity.
    2. Review Firewall Settings: Make sure that Cloudflare's IP addresses are allowed through the server's firewall. This may involve updating firewall rules to whitelist these IPs.
    3. Verify DNS Configuration: Confirm that the DNS records (A and CNAME) point to the correct IP address of your origin server.
    4. Monitor Server Load: If the server is frequently reaching its resource limits, consider upgrading your hosting plan or optimizing your website to reduce load.


    Best to contact your Provider if you can