title: file_get_contents() not working properly
body: <p>Any ideas why file_get_contents() is not working properly on server A but works on server B for certain websites?</p>
  
  <pre><code>$f = file_get_contents("https://developer-api.nest.com/devices.json?auth=c.GGU9iS...");
  </code></pre>
  
  <p>This echoes absolutely nothing on server A, but it works on server B, I've tested everything...</p>
  
  <p>a) allow_url_fopen is ON</p>
  
  <p>b) If I do file_get_contents(); getting another website, it works on both servers.</p>
  
  <p>c) I've tried using cURL and still got nothing on server A but does get something on server B.</p>
  
  <p>d) I've tested cURL with another website and it does work both servers.</p>
  
  <p>e) Tried to do <code>var_dump($http_response_header);</code> and returns NULL on server A.</p>
  
  <p>I don't know what's going on, I've done anything.</p>
  
  <p><strong>UPDATE:</strong></p>
  
  <p>I did <code>wget https://developer-api.nest.com/devices.json?auth=c.GGU9iS...</code> on server A and it never connects, and just noticed it's using port <strong>9553</strong>, if I do this same <code>wget</code> on this other server (B) it works correctly. I'm so confused.</p>
  
  <p>I echoed <code>curl_error();</code> and it returns <strong>couldn't connect to host</strong>, but it's working perfectly on my other server. This is driving me crazy.</p>