I have the same code for my Windows and Linux. It works on Windows but failed with my Linux.
Code:
request({url:target_url}, // ANY URL WILL FAIL
function (err, response, body) {
console.log(err);
Out put error for this in my console:
{ [Error: connect EAGAIN] code: 'EAGAIN', errno: 'EAGAIN', syscall: 'connect' }
I guess this is not an issue with the request module but i don't know where to get help. Thanks for any kind of tips!