Title: scan from local development server
Last modified: July 30, 2018

---

# scan from local development server

 *  Resolved [insightdes](https://wordpress.org/support/users/insightdes/)
 * (@insightdes)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/scan-from-local-development-server/)
 * Hi Folks,
 * I’m trying to clean up an infected remote site which is on a cPanel server which
   has now been suspended, by downloading the site into my local AMPPS environment(
   files and database), and running a Wordfence Scan.
 * However, the Wordfence scan screen says:
 * > Scan Failed
   >  The current scan looks like it has failed. Its last status update
   > was 11 mins ago. You may continue to wait in case it resumes or stop and restart
   > the scan. Some sites may need adjustments to run scans reliably. Click here
   > for steps you can try.
 * The scan log shows:
 * > [Jul 30 05:40:23:1532929223.554283:1:info] Contacting Wordfence to initiate
   > scan
   >  [Jul 30 03:26:23:1532921183.416203:1:info] Scan stop request received.[
   > Jul 30 03:21:15:1532920875.820542:2:info] Found 4 themes [Jul 30 03:21:15:1532920875.819420:
   > 2:info] Getting theme list from WordPress [Jul 30 03:21:15:1532920875.818971:
   > 2:info] Found 39 plugins [Jul 30 03:21:15:1532920875.811079:2:info] Getting
   > plugin list from WordPress [Jul 30 03:21:15:1532920875.803232:2:info] The disk
   > has 14954.13 MB available [Jul 30 03:21:15:1532920875.803003:2:info] Total 
   > disk space: 233.57 GB — Free disk space: 14.6 GB [Jul 30 03:20:10:1532920810.394877:
   > 2:info] Scanning DNS A record for viruschecker.local [Jul 30 03:19:17:1532920757.379035:
   > 1:info] Scheduled Wordfence scan starting at Monday 30th of July 2018 03:19:
   > 17 AM [Jul 30 03:19:10:1532920750.392831:2:info] Starting DNS scan for viruschecker.
   > local [Jul 30 03:19:03:1532920743.288200:1:info] Contacting Wordfence to initiate
   > scan [Jul 30 03:18:55:1532920735.441804:1:info] Scan stop request received.[
   > Jul 27 07:12:35:1532675555.450541:2:error] Scan terminated with error: There
   > was an error connecting to the Wordfence scanning servers: cURL error 6: name
   > lookup timed out [Jul 27 07:12:35:1532675555.450272:2:info] Wordfence used 
   > 0 B of memory for scan. Server peak memory usage was: 18 MB [Jul 27 07:12:25:
   > 1532675545.440396:1:info] Contacting Wordfence to initiate scan [Jul 27 07:
   > 12:16:1532675536.086727:1:info] Scan stop request received. [Jul 27 07:09:16:
   > 1532675356.333266:2:error] Scan terminated with error: There was an error connecting
   > to the Wordfence scanning servers: cURL error 6: name lookup timed out [Jul
   > 27 07:09:16:1532675356.332894:2:info] Wordfence used 0 B of memory for scan.
   > Server peak memory usage was: 2 MB [Jul 27 07:09:06:1532675346.322721:1:info]
   > Contacting Wordfence to initiate scan [Jul 27 07:08:55:1532675335.188332:1:
   > info] Scan stop request received. [Jul 27 07:04:22:1532675062.539167:2:error]
   > Scan terminated with error: There was an error connecting to the Wordfence 
   > scanning servers: cURL error 6: name lookup timed out
 * I can search for plugins and download them, so the local website has permission
   to reach outwards.
 * Help appreciated.

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Thread Starter [insightdes](https://wordpress.org/support/users/insightdes/)
 * (@insightdes)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/scan-from-local-development-server/#post-10538965)
 * I am running Softaculous’s AMPPS.
 * Checking the PHP config, max_execution_time was set to 30s, I increased this 
   to 3600s, and the scan is running okay now.
 * I will let you know if the scan completes or not.
 *  Thread Starter [insightdes](https://wordpress.org/support/users/insightdes/)
 * (@insightdes)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/scan-from-local-development-server/#post-10538999)
 * How do I set Wordfence’s scan to run in xx second increments?
 *  [WFSupport](https://wordpress.org/support/users/wfsupport/)
 * (@wfsupport)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/scan-from-local-development-server/#post-10540084)
 * Look on the scan options page, in the Performance section. I usually set max 
   execution time to 20 seconds and the time limit that a scan can run in seconds
   to 21600 (6 hours). 6 hours is usually more than enough time to complete one.
   If you aren’t using it already, [this link shows how to clean a site using Wordfence](https://www.wordfence.com/docs/how-to-clean-a-hacked-wordpress-site-using-wordfence/)
   and includes some links to articles in our [free learning center](https://wordfence.com/learn)
   for additional pointers.
 * Tim
 *  Thread Starter [insightdes](https://wordpress.org/support/users/insightdes/)
 * (@insightdes)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/scan-from-local-development-server/#post-10545942)
 * I have made the changes you suggested to scan performance options, however, when
   I try to start a scan, 5 seconds later the scan stops, and I receive:
 * > Scan Failed
   >  The scan has failed to start. This is often because the site either
   > cannot make outbound requests or is blocked from connecting to itself. Click
   > here for steps you can try.
 * I don’t believe setting the Wordfence servers to commence the scan will work 
   in this situation, as the sites are running as local development servers.
 *  [wfalaa](https://wordpress.org/support/users/wfalaa/)
 * (@wfalaa)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/scan-from-local-development-server/#post-10574739)
 * Hi [@insightdes](https://wordpress.org/support/users/insightdes/)
 * Yes, please disable the “Start all scans remotely” option and activate “Enable
   debugging mode” option, then kill any running scans at the moment and run a new
   scan and watch the scan activity log for any error message you might get, it 
   will be helpful also if you can email me both the “Scan activity log” and “Diagnostics
   Report” from the (Wordfence > Tools > Diagnostics) page to “alaa [at] wordfence[
   dot] com”.
 * Thanks.
 *  Thread Starter [insightdes](https://wordpress.org/support/users/insightdes/)
 * (@insightdes)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/scan-from-local-development-server/#post-10577265)
 * Hi Alaa,
 * I no longer have the need to scan from a local development server, so I will 
   close this thread.
 * Thanks,
    Steve

Viewing 6 replies - 1 through 6 (of 6 total)

 The topic ‘scan from local development server’ is closed to new replies.

 * ![](https://ps.w.org/wordfence/assets/icon.svg?rev=2070865)
 * [Wordfence Security - Firewall, Malware Scan, and Login Security](https://wordpress.org/plugins/wordfence/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordfence/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordfence/)
 * [Active Topics](https://wordpress.org/support/plugin/wordfence/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordfence/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordfence/reviews/)

## Tags

 * [failure](https://wordpress.org/support/topic-tag/failure/)
 * [local](https://wordpress.org/support/topic-tag/local/)
 * [scan](https://wordpress.org/support/topic-tag/scan/)

 * 6 replies
 * 3 participants
 * Last reply from: [insightdes](https://wordpress.org/support/users/insightdes/)
 * Last activity: [8 years, 2 months ago](https://wordpress.org/support/topic/scan-from-local-development-server/#post-10577265)
 * Status: resolved