title: API mailchimp : failed to connect
body: <p>Using the PHP script below I get a "failed to connect" message.</p>
  
  <p>Is it correct that I press ENABLE in my account settings for the API Key ?</p>
  
  <pre><code>&lt;?php
  
  echo "testing" ;
  
  $api_key = "......";
  $list_id = "a45e802adf";
  
  require('src/Mailchimp.php');
  $Mailchimp = new Mailchimp( $api_key );
  $Mailchimp_Lists = new Mailchimp_Lists( $Mailchimp );
  $subscriber = $Mailchimp_Lists-&gt;subscribe( $list_id, array( 'email' =&gt; "testing@yahoo.de" ) );
  
  if ( ! empty( $subscriber['leid'] ) ) {
      // Success
  }
  
  
  ?&gt;
  </code></pre>
  
  <blockquote>
    <p>Fatal error: Uncaught exception 'Mailchimp_HttpError' with message
    'API call to lists/subscribe failed: Failed to connect to
    us3.api.mailchimp.com port 443: Connection refused' in
    C:\xampp\htdocs\xampp\src\Mailchimp.php:221 Stack trace: #0
    C:\xampp\htdocs\xampp\src\Mailchimp\Lists.php(743):
    Mailchimp->call('lists/subscribe', Array) #1
    C:\xampp\htdocs\xampp\tochimp.php(14):
    Mailchimp_Lists->subscribe('a45e802adf', Array) #2 {main} thrown in
    C:\xampp\htdocs\xampp\src\Mailchimp.php on line 221</p>
  </blockquote>