Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run the Js file behind the Proxy #2

Open
saopramod opened this issue Apr 28, 2016 · 1 comment
Open

Run the Js file behind the Proxy #2

saopramod opened this issue Apr 28, 2016 · 1 comment

Comments

@saopramod
Copy link

Hi,

I have successfully installed behind the corporate fire wall and I am trying to run the below File. I am also pasting the code of test.js (sample ) and the error. Can you please help, in what is the problem over here

var smappee = require('./my-smappee');

smappee.getServiceLocations(function(output) {
console.log(output);
})

Then I execute the code

node test.js

The error thrown is

C:\loadash>node test.js
Making oAuth call...
Request failed: { [Error: tunneling socket could not be established, cause=getad
drinfo ENOTFOUND 808 808:80] code: 'ECONNRESET' }

I understand the issue is of proxy setting, I am new to NodeJs. Please help

@saopramod
Copy link
Author

Also the Proxy I am trying to use is as below

10.101.45.25
Port : 808

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant