npm config settings are only used by the npm cli client. Are you trying to invoke npm or your own node.js code?
On Wed, Jun 22, 2016 at 5:49 AM, Dinesh Rampal <[email protected]> wrote: > Hi > > I have a application which works fine, but when i try to make it work in > office behind a corporate firewall, it fails to make a call to a internet > cloud based database. Querying in Google, i found that i need to set up > config parameters - *proxy and https-proxy*. > > npm config set proxy http://proxy.company.com:8080 > npm config set https-proxy http://proxy.company.com:8080 > > > I have done the above commands in all possible combinations, but it > doesn't work. > > Can somebody tell me how can i come around this problem ? Is this the only > way to solve this OR there are solutions to my issue. > > The exception which i get is - > event.js : 85 > > throw er; // Unhandled 'er' event. > > Error : connect ETIMEDOUT > > at exports._ErrnoExcpetion <util.js:746:11> > at TCPConnectWrap.afterConnect [as Oncomplete] > <net.js:1010:19> > > My project is at stake. > > Will appreciate all help. > > thanks a lot > > regards > dinesh > > > > > > -- > Job board: http://jobs.nodejs.org/ > New group rules: > https://gist.github.com/othiym23/9886289#file-moderation-policy-md > Old group rules: > https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines > --- > You received this message because you are subscribed to the Google Groups > "nodejs" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/nodejs/d603b86e-a335-4bb4-b76d-be62faea4c82%40googlegroups.com > <https://groups.google.com/d/msgid/nodejs/d603b86e-a335-4bb4-b76d-be62faea4c82%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- Job board: http://jobs.nodejs.org/ New group rules: https://gist.github.com/othiym23/9886289#file-moderation-policy-md Old group rules: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines --- You received this message because you are subscribed to the Google Groups "nodejs" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/nodejs/CAN5MXoceq0jEPG-k74OGkJpfbEifq8cn7Yar%3DhjjE%2BQ37hZDiA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
