mikeal/request — Issue #108: ECONNREFUSED when connecting locally
Author: clintandrewhall
Created: 2011-11-22 15:33:45+00:00
State: open

I've enjoyed using request on a number of projects, but this problem has me stumped.

When attempting to use request to access a data-serving endpoint on my local machine on, say, port 3000, I get a ECONNREFUSED. Yet if I use a simple function using the http module, it processes normally.

Perhaps there is something wrong with my server code that would deny some header or agent set by this module, but I'm just not sure. I'm using Connect, which is pretty standard out of the box... any insight?