title: What could cause "connect ETIMEDOUT" error when the URL is working in browser?
body: <p>I train myslef with NodeJS and tried a simple GET call.
  Here is my code:</p>
  
  <pre><code>var http = require('http');
  
  var options = {
      host: 'www.boardgamegeek.com',
      path: '/xmlapi/boardgame/1?stats=1',
      method: 'GET'
  }
  
  var request = http.request(options, function (response) {
      var str = ""
      response.on('data', function (data) {
          str += data;
      });
      response.on('end', function () {
          console.log(str);
      });
  });
  
  request.on('error', function (e) {
      console.log('Problem with request: ' + e.message);
  });
  
  request.end();
  </code></pre>
  
  <p>The URL called seems to work in my browser <a href="https://www.boardgamegeek.com/xmlapi/boardgame/1?stats=1" rel="noreferrer">https://www.boardgamegeek.com/xmlapi/boardgame/1?stats=1</a></p>
  
  <p>Anyway, I've got <em>Problem with request: connect ETIMEDOUT</em> when I run the code and I have no idea how to fix it.</p>
  
  <p>What could cause this error ? Is it my code or is it a network/proxy issue?</p>