Title: API Key
Last modified: August 31, 2016

---

# API Key

 *  Resolved [calvinhei](https://wordpress.org/support/users/calvinhei/)
 * (@calvinhei)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/api-key-110/)
 * Hi I’m keeps getting this error:
 * Wordfence could not get an API key from the Wordfence scanning servers when it
   activated. You can try to fix this by going to the Wordfence “options” page and
   hitting “Save Changes”. This will cause Wordfence to retry fetching an API key
   for you. If you keep seeing this error it usually means your WordPress server
   can’t connect to our scanning servers. You can try asking your WordPress host
   to allow your WordPress server to connect to noc1.wordfence.com.
 * What should I do??
 * [https://wordpress.org/plugins/wordfence/](https://wordpress.org/plugins/wordfence/)

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

 *  [WFBrian](https://wordpress.org/support/users/wfbrian/)
 * (@wfbrian)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/api-key-110/#post-7149099)
 * Hi,
 * Try doing a connectivity test and then report back. Click on “Options” then scroll
   to the bottom of the page and click on the link that says “Click to test connectivity
   to the Wordfence API servers”. This will tell us if your site is able to connect
   to our servers.
 * -Brian
 *  Thread Starter [calvinhei](https://wordpress.org/support/users/calvinhei/)
 * (@calvinhei)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/api-key-110/#post-7149100)
 * Hi,
 * I’ve tested and show the below result:
 * STARTING CURL http CONNECTION TEST….
    Curl connectivity test failed with response:
 * Curl HTTP status: 0
    Curl error code: 7 Curl Error: Failed to connect to noc1.
   wordfence.com port 80: Connection timed out
 * STARTING CURL https CONNECTION TEST….
    Curl connectivity test failed with response:
 * Curl HTTP status: 0
    Curl error code: 7 Curl Error: Failed to connect to noc1.
   wordfence.com port 443: Connection timed out
 * Starting wp_remote_post() test
    wp_remote_post() test to noc1.wordfence.com failed!
   Response was: Connection timed out after 10002 milliseconds
 * Starting wp_remote_post() test
    wp_remote_post() test to noc1.wordfence.com failed!
   Response was: Connection timed out after 10000 milliseconds
 *  [WFBrian](https://wordpress.org/support/users/wfbrian/)
 * (@wfbrian)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/api-key-110/#post-7149142)
 * Thanks! Looks like your host isn’t allowing connections to our servers. Have 
   them allow noc1.wordfence.com on ports 80 and 443. Once they do that, try the
   connectivity test again.
 * -Brian
 *  Thread Starter [calvinhei](https://wordpress.org/support/users/calvinhei/)
 * (@calvinhei)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/api-key-110/#post-7149147)
 * do i need to set to connect to your ip? but not noc1.wordfence.com?
 *  Plugin Author [WFMattR](https://wordpress.org/support/users/wfmattr/)
 * (@wfmattr)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/api-key-110/#post-7149184)
 * Hi,
 * The host could use the domain name or IP when setting it up. noc1.wordfence.com
   is currently 69.46.36.8 — if the host allows connections from your site to that
   server through their firewall and/or proxy, that part of the scan process should
   work.
 * -Matt R

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

The topic ‘API Key’ 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/)

 * 5 replies
 * 3 participants
 * Last reply from: [WFMattR](https://wordpress.org/support/users/wfmattr/)
 * Last activity: [10 years, 2 months ago](https://wordpress.org/support/topic/api-key-110/#post-7149184)
 * Status: resolved