Title: API Key insertion for Stats Plugin generates error
Last modified: August 18, 2016

---

# API Key insertion for Stats Plugin generates error

 *  [pmatos](https://wordpress.org/support/users/pmatos/)
 * (@pmatos)
 * [19 years, 1 month ago](https://wordpress.org/support/topic/api-key-insertion-for-stats-plugin-generates-error/)
 * Hello,
 * I have a blog in sourceforge and I just tried to install stats plugin, when I
   try to insert the API key I get:
 * Error from last API Key attempt:
 * Your blog was unable to connect to WordPress.com. Please ask your host for help.(
   transport error – could not open socket: 111 Connection refused)
 * Is there a way to get around this?

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

 *  [electriccounterpoint](https://wordpress.org/support/users/electriccounterpoint/)
 * (@electriccounterpoint)
 * [19 years, 1 month ago](https://wordpress.org/support/topic/api-key-insertion-for-stats-plugin-generates-error/#post-570320)
 * This might be a problem with your host. As I understand it, the stats plugin 
   requires the fsockopen function, which your server might not allow. I have a 
   shared hosting account and my registration failed at the same point (API key 
   entry) for that reason.
 *  Thread Starter [pmatos](https://wordpress.org/support/users/pmatos/)
 * (@pmatos)
 * [19 years, 1 month ago](https://wordpress.org/support/topic/api-key-insertion-for-stats-plugin-generates-error/#post-570338)
 * Then, I guess, there’s no workaround for this… 🙁
 *  [rat86](https://wordpress.org/support/users/rat86/)
 * (@rat86)
 * [18 years, 1 month ago](https://wordpress.org/support/topic/api-key-insertion-for-stats-plugin-generates-error/#post-570861)
 * the proble is not for the host. Because i have 2 site by some host, but with 
   one blog it works, with athor i have some errore

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

The topic ‘API Key insertion for Stats Plugin generates error’ is closed to new 
replies.

## Tags

 * [api](https://wordpress.org/support/topic-tag/api/)
 * [key](https://wordpress.org/support/topic-tag/key/)
 * [port](https://wordpress.org/support/topic-tag/port/)
 * [Stats](https://wordpress.org/support/topic-tag/stats/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 3 participants
 * Last reply from: [rat86](https://wordpress.org/support/users/rat86/)
 * Last activity: [18 years, 1 month ago](https://wordpress.org/support/topic/api-key-insertion-for-stats-plugin-generates-error/#post-570861)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
