Skip to content

Run the Js file behind the Proxy #2

@saopramod

Description

@saopramod

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions