keepcalculator

06 Numbers and Powers

Fix Jetpack Cannot Connect Site Inaccessible Error

Card No. 06·38976 · Updated · Standard formula, shown below

If you see the “Jetpack cannot connect: site is inaccessible” error, your WordPress site and WordPress.com cannot communicate, which breaks stats, related posts, and other Jetpack features. This guide walks you through the most common causes and fixes, from simple cache clears to adjusting server settings.

What You’ll Need

  • WordPress admin access (wp-admin)
  • FTP or cPanel file manager access (for editing files)
  • Access to your hosting control panel (for PHP settings and firewalls)
  • A way to test your site’s accessibility (e.g., a browser, or an online “down for everyone or just me” tool)

Step-by-Step

  1. Check if your site is actually accessible. Open your site’s homepage in a regular browser (not wp-admin). If you see a blank page, a 500 error, or a redirect loop, Jetpack can’t reach it either. Use a tool like “downforeveryoneorjustme.com” to see if the problem is on your server’s side.
  2. Verify your site URL in WordPress. Go to Settings > General. Ensure the WordPress Address (URL) and Site Address (URL) match exactly (including https:// vs http://). A mismatch is a common cause of connection failures.
  3. Clear all caches. Jetpack uses a transient cache to store connection data. Install a caching plugin (if you don’t have one) or use your existing one to clear all caches. Also clear your browser cache. After clearing, go to Jetpack > Dashboard and click Connect again.
  4. Deactivate and reactivate Jetpack. In Plugins, deactivate Jetpack. Then reactivate it. This forces Jetpack to re-register its connection tokens. If the error persists, try deleting the plugin entirely and reinstalling it from the WordPress repository (your settings and data are stored on WordPress.com, so they won’t be lost).
  5. Check for conflicting plugins. Temporarily deactivate all other plugins (except Jetpack). If the connection works, reactivate them one by one to find the culprit. Common conflicts come from security plugins (Wordfence, Sucuri) and caching plugins that block certain requests.
  6. Switch to a default theme. Your theme could be blocking Jetpack’s XML-RPC request. Temporarily activate a default WordPress theme (like Twenty Twenty-Four). If the connection works, your theme is the issue—contact its developer.
  7. Enable XML-RPC. Jetpack uses XML-RPC to talk to WordPress.com. On some hosts it’s disabled. You can test it by visiting yourdomain.com/xmlrpc.php in a browser. If you see a blank page or an error, it’s likely blocked. Add this to your .htaccess file (in the root folder) to allow it:
    # Allow Jetpack XML-RPC
    <Files xmlrpc.php>
    Order Deny,Allow
    Allow from all
    </Files>
  8. Check your PHP version. Jetpack requires PHP 7.0 or higher. In cPanel or your hosting dashboard, find the PHP version selector and set it to 7.4 or 8.0 (check your theme/plugins compatibility first).
  9. Verify your SSL certificate. If your site uses HTTPS, ensure your SSL certificate is valid and not expired. An invalid certificate blocks Jetpack’s secure connection. You can test with an online SSL checker.
  10. Whitelist Jetpack IPs. If you have a firewall or security plugin that blocks certain IPs, add Jetpack’s IP ranges to your allowlist. Jetpack’s official IPs are listed in the Jetpack developer documentation. You can also ask your host to whitelist them.
  11. Check your site’s robots.txt. A misconfigured robots.txt can block Jetpack’s crawler. Ensure it doesn’t disallow /xmlrpc.php or /wp-json/. You can view it at yourdomain.com/robots.txt.
  12. Contact your hosting provider. If nothing works, your host may be blocking the connection at the server level. Ask them to check the server’s outgoing connections to jetpack.wordpress.com and public-api.wordpress.com on port 443.

Common Mistakes

  • Forgetting to clear server-side caches. Many hosts use server-side caching (Varnish, LiteSpeed). Clear those too, not just plugin caches.
  • Changing site URL without updating .htaccess. If you moved your site, the .htaccess file may still contain old rewrite rules. Regenerate permalinks by going to Settings > Permalinks and clicking Save Changes.
  • Not checking for a staging site. If you’re on a staging site (like a subdomain), Jetpack often fails because it’s not a production URL. Deactivate Jetpack on staging and only use it on the live site.
  • Assuming the error is always a plugin conflict. Sometimes it’s a server-level issue. Don’t spend hours disabling plugins if the problem is your host’s firewall.

Tips

  • Use Jetpack’s debug tool. Go to Jetpack > Dashboard and click on the “Debug” link at the bottom. It will show you the exact error message, which is invaluable for support.
  • Check your site’s status page. If you have a status page (like from a monitoring service), it can tell you if your site has had downtime recently, which might have caused the connection to drop.
  • Keep Jetpack updated. Old versions have known connection bugs. Always update to the latest version.
  • Use a child theme. If you’re customizing your theme, a child theme prevents Jetpack connection issues caused by theme updates.

Troubleshooting

If the steps above don’t resolve the issue, try these additional checks:

  • Check the error log. Look in your hosting control panel for error logs (often in cPanel > Error Logs). Search for “jetpack” or “xmlrpc” to see specific errors.
  • Test with a fresh install. Create a subdomain (e.g., test.yourdomain.com) and install a fresh WordPress with only Jetpack. If it connects, the problem is in your main site’s configuration.
  • Disable security plugins temporarily. Even if you’ve deactivated other plugins, security plugins often have server-level rules that persist. Disable them completely (not just deactivate) and try again.
  • Check your site’s DNS. Use an online DNS checker to ensure your domain resolves correctly. Sometimes DNS changes take time to propagate, causing Jetpack to see a different IP than expected.
  • Try connecting via a different network. If you’re on a VPN or a corporate network, it might block the connection. Try from a different network to rule that out.

Frequently Asked Questions

Why does Jetpack say my site is inaccessible when it loads fine in my browser?

Jetpack connects via a server-to-server request (XML-RPC), not a browser request. Your browser might load fine, but the server might block the specific request Jetpack makes. This is often due to security plugins or firewall rules.

Will I lose my Jetpack data if I disconnect and reconnect?

No. Your Jetpack data (stats, subscriptions, etc.) is stored on WordPress.com servers. Disconnecting and reconnecting only re-establishes the link; your historical data remains intact.

Can I fix this without FTP access?

Yes, many fixes can be done via the WordPress admin, like deactivating plugins and clearing caches. However, if you need to edit .htaccess or wp-config.php, you’ll need FTP or cPanel file manager.

My site uses a firewall (like Cloudflare). Does that affect Jetpack?

Yes, firewalls can block Jetpack’s requests. In Cloudflare, you may need to temporarily pause the proxy (the orange cloud) for the connection to succeed, then re-enable it. Also, ensure your firewall isn’t blocking the specific IPs Jetpack uses.

What does the “site_inaccessible” error mean exactly?

It means that Jetpack’s servers could not reach your site’s xmlrpc.php file. This could be due to a network issue, a server misconfiguration, or a security block. The debug tool will give you more specifics.

How long does it take for Jetpack to reconnect after I fix the issue?

Usually, it reconnects immediately after you click “Connect” again. If it doesn’t, wait 5-10 minutes and try again. Sometimes the WordPress.com servers need a few minutes to clear the old connection state.

Related

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.

More cards in this drawer

The whole Numbers and Powers drawer →