Title: [Plugin: WordPress.com Stats] Transport error &#8211; could not open socket
Last modified: August 19, 2016

---

# [Plugin: WordPress.com Stats] Transport error – could not open socket

 *  [davekeller](https://wordpress.org/support/users/davekeller/)
 * (@davekeller)
 * [17 years, 3 months ago](https://wordpress.org/support/topic/plugin-wordpresscom-stats-transport-error-could-not-open-socket/)
 * Hi everyone,
 * I am trying to install the WordPress.com Stats plugin.
    When I enter my API key
   I get the error:
 * ——————————————————————-
    “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: 110 Connection timed out)”
    ——————————————————————-
 * I am trying to use the same key that is successfully working with Akismet.
 * I have asked my webhost to investigate, they have requested:
 * – The IP they need to connect to
    – Explanation of why this is required – Where
   they can consult documentation
 * I can handle the explanation part, and I’m assuming that there isn’t any documentation
   on this as I haven’t found anything on the WordPress sites/forums.
 * So all I need is IP address that the /wp-content/plugins/stats.php is trying 
   to connect to.
 * Can anyone shed some light?
 * Thanks!

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

 *  [ketso](https://wordpress.org/support/users/ketso/)
 * (@ketso)
 * [17 years, 2 months ago](https://wordpress.org/support/topic/plugin-wordpresscom-stats-transport-error-could-not-open-socket/#post-990796)
 * I have the same problem. with last version of WP and stats. My webhost ask for
   hostname wordpress.com use for this. I have searched for it with no success.
 *  [Andy Skelton](https://wordpress.org/support/users/andy/)
 * (@andy)
 * [17 years, 2 months ago](https://wordpress.org/support/topic/plugin-wordpresscom-stats-transport-error-could-not-open-socket/#post-990798)
 * The hostname is stats.wordpress.com and the IPs are subject to change. A DNS 
   lookup will find them. But I’d move to a host that does not restrict your connections.
 *  Thread Starter [davekeller](https://wordpress.org/support/users/davekeller/)
 * (@davekeller)
 * [17 years, 2 months ago](https://wordpress.org/support/topic/plugin-wordpresscom-stats-transport-error-could-not-open-socket/#post-990805)
 * Thanks for the reply Andy.
 * Is it a waste of time asking the webhost to open a connection to the IP address
   currently assigned to stats.wordpress.com, if the IP will likely change (several
   times) in the future?
 * Moving hosts is not an option as I do not own the site (merely designing it).
 *  Thread Starter [davekeller](https://wordpress.org/support/users/davekeller/)
 * (@davekeller)
 * [16 years, 10 months ago](https://wordpress.org/support/topic/plugin-wordpresscom-stats-transport-error-could-not-open-socket/#post-990858)
 * Thought I would comment that the “Transport Error” no longer occurs after upgrade
   to WordPress 2.8.2

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

The topic ‘[Plugin: WordPress.com Stats] Transport error – could not open socket’
is closed to new replies.

## Tags

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

 * 4 replies
 * 3 participants
 * Last reply from: [davekeller](https://wordpress.org/support/users/davekeller/)
 * Last activity: [16 years, 10 months ago](https://wordpress.org/support/topic/plugin-wordpresscom-stats-transport-error-could-not-open-socket/#post-990858)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
