Reputation: 17422
When I request too much resources of one site, some request will occurs NS_ERROR_CONNECTION_REFUSED error. How to fix?
http.request(options, callback)
Upvotes: 1
Views: 939
Reputation: 159105
This is likely a limitation of the server you're connecting to and not Node.js. This is usually implemented to keep people from opening too many connections (much like you're trying to do. :)
Upvotes: 4