title: Curl doesn't get external websites
body: <p>I have some troubles with cUrl configuration on my local machine (my own computer). </p>
  
  <p>I can only download site that is placed on localhost. Trying any other host causes failure (empty string returned). I'm sure that code is ok - it works on my production server.</p>
  
  <p>Also, <code>curl_errno</code> doesn't return any error.</p>
  
  <p>I can't find the problem, please help.</p>
  
  <p>Edit: Here's the code.</p>
  
  <pre><code>&lt;?php
  $url = "http://stackoverflow.com";
  $ch = curl_init();
  curl_setopt($ch, CURLOPT_URL, $url);
  curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
  $result = curl_exec($ch); // It's empty
  </code></pre>