Node js IS Connection

Note: I dint get a chance to re-engineer the code myself.

I have a fresh setup on my local computer where I have installed Node.js runtime and followed the steps mentioned in wm-is-client - npm to install the required package.

I ran the command as-is on the default port 5555 on IS 10.5 and it works fine. Later I created another port 6666 with the required access mode, updated the config.js file and disabled the port 5555. It still works with the below config running on port 6666.

Try setting up again and it will work for you.

protocol : 'http:', // or https:

hostname: 'localhost',
// default request headers
headers: {
        'Accept': 'application/json',
},
port : 6666,

}
};