When Wordfence says “There was an error connecting to the Wordfence scanning servers”, it means your site cannot reach Wordfence’s remote scan servers at all. In most cases, something on your hosting environment is blocking or breaking the outgoing HTTPS connection. The plugin is fine – the connection is not. Let’s walk through how to prove that and get your scans running again.
Wordfence shows “There was an error connecting to the Wordfence scanning servers” and my scans fail. How do I fix this?
If you are wondering what is broken: your server cannot talk to the Wordfence scanning servers. Wordfence tries to reach noc1.wordfence.com to start or run a scan, the connection fails, and you see that error.
Wordfence scans call home to Wordfence’s servers for signatures, rules and some remote checks. That connection happens over HTTPS, using PHP’s cURL functions.
When you see:
There was an error connecting to the Wordfence scanning servers
it usually comes with a cURL error such as:
cURL error 7: Failed to connect to noc1.wordfence.com port 443cURL error 28: Connection timed outcURL error 35: OpenSSL SSL_connect: Connection reset by peercURL error 6: Could not resolve hostDifferent codes, same story: your WordPress server cannot complete an outgoing HTTPS request to Wordfence.
Most of the time it is one of these:
Wordfence has built-in tests that tell you where the connection is failing.
Pay attention to these lines:
noc1.wordfence.com or a cURL error.If “Connecting to Wordfence servers (https)” is red or shows a cURL error: your server cannot reach Wordfence. Go to Fix 1 - Remote connection issues.
If “Connecting to Wordfence servers (https)” is green, but you still get the scan error: treat it as a resource or scan configuration issue. Go to Fix 2 - Scan configuration and timeouts.
This is the case when Diagnostics shows failures for “Connecting to Wordfence servers (https)” or when your scan error mentions cURL 7, 28, 35, or 6.
You will need this IP for your host and Wordfence support.
If you have SSH access:
curl -v https://noc1.wordfence.com/
What you are looking for:
If you do not have SSH, send a ticket to your host and ask them to run that command from your web server and share the result.
In your ticket to the host, include:
noc1.wordfence.com:443 if present).You can say something like:
Wordfence security scans are failing with:
There was an error connecting to the Wordfence scanning servers
and a cURL error tohttps://noc1.wordfence.com:443.Can you please confirm that outbound HTTPS connections from this server to Wordfence’s IP ranges are allowed and not blocked by any firewall or rate limit? The public IP for this server is [your IP here].
Ask them specifically to:
noc1.wordfence.com.If your scan error or curl output shows cURL error 35 with an SSL_connect problem, it usually means:
Ask your host to:
https://noc1.wordfence.com/ without interception.Sometimes Diagnostics shows IPv6 DNS resolution failures even if your site is fine over IPv4. That can clutter the log but is not always fatal.
If your error mentions IPv6 issues and your server does not use IPv6, you can stop the IPv6 scan test by adding this line to wp-config.php:
define('WORDFENCE_DISABLE_IPV6_SCAN', true);
Save the file, reload Wordfence Diagnostics, and rerun a scan. If “Connecting to Wordfence servers (https)” now passes and scans run, the IPv4 path is working and you can ignore IPv6 for now.
If your host says they do not block anything, but:
curl -v https://noc1.wordfence.com/ times out or shows a challenge, andthen your server’s IP may need review by Wordfence.
From Wordfence → Tools → Diagnostics:
wftest@wordfence.com when asked to by support).Once either your host or Wordfence confirms the IP issue is resolved, run a new scan from Wordfence → Scan.
If Diagnostics shows that “Connecting to Wordfence servers (https)” is green, but scans still fail with the same message, treat it as a scan performance issue that surfaces as a connection error.
Then:
Wordfence can start scans by connecting back to itself, or by using Wordfence’s servers to trigger the scan remotely. If the local start method is breaking, remote start can sometimes work around hosting quirks.
If the scan now runs without “error connecting to the Wordfence scanning servers”, you know the connection is fine but the local start method is fragile on this host.
Important: remote scans write extra data to the database. Do not leave Start all scans remotely on forever. Use it for testing, then turn it off once you and your host have a stable configuration.
On the Diagnostics page, if “Connecting back to this site” is failing while “Connecting to Wordfence servers” passes, your server may be blocking or misrouting its own loopback connections.
In that case, send these details to your host:
wp_remote_post() for scans to run.Ask them to:
wp_remote_post() from working on your own domain.Sometimes this message appears during activation or the first scan if Wordfence cannot register and store its key.
If registration still fails with the same connection error, the problem is still your server’s ability to reach noc1.wordfence.com. Go back to Fix 1 - Remote connection issues and work with your host.
You know you are in good shape when:
noc1.wordfence.com.Hit Continue Chat below and send me:
I will help you read the diagnostics and work out whether this is a firewall, SSL, DNS, or loopback issue on your site.
Scroll down to the contact form below. Enter your name, email, and WordPress needs. Atiba will get back to you as soon as possible.
WP Assistant is a free tool created by Atiba Software, a WordPress design and development company located in Nashville, TN. If you need more personalized WordPress assistance let us know, and we’ll get back to you ASAP!