title: Pycurl cannot connect to host
body: <p>I am writing a pycurl script, which worked right on linux, but on mac os x I get the error:</p>
  
  <pre><code>Traceback (most recent call last):
    File "curl.py", line 47, in &lt;module&gt;
      c.perform()
  pycurl.error: (7, "couldn't connect to host")
  </code></pre>
  
  <p>any help?</p>
  
  <p>Thanks</p>