I\'m making an http request with the node.js client, and I get an ECONNREFUSED error. When I make what appears to be the same request
I just faced the same problem.
Note that Windows 7 by default doesn't include an entry for localhost in C:\Windows\System32\drivers\etc\hosts (wikipedia reference)
Adding the entry for localhost has no effect with Node.js (0.10.25) as it apparently skips the hosts file completely.
Use 127.0.0.1 as local address instead, this will works what ever is in your hosts file.