joyent/node — Issue #2121: http request: connect Unknown system errno 110
Author: totaldqnt
Created: 2011-11-15 19:25:00+00:00
State: open

Ubuntu Client 11.10, node v0.6.0, npm v1.0.104

var http = require('http');
var options = {
host: 'www.google.com',
port: 80
};
http.get(options, function(res) {
console.log("Got response: " + res.statusCode);
}).on('error', function(e) {
console.log("Got error: " + e.message);
});

The url works fine with wget & curl.
The code works if host is localhost instead of google (external)

Thank you