javascript - Error: getaddrinfo ENOTFOUND in nodejs soap -


i using following code , getting error.

var soap = require('soap');  var url = 'http://ws.strikeiron.com/globaladdressverification5?wsdl';  soap.createclient(url, function(err, client){   console.log(err)   console.log(client)  }); 

error:

{ [error: getaddrinfo enotfound ws.strikeiron.com] code: 'enotfound', errno: 'enotfound', syscall: 'getaddrinfo', hostname: 'ws.strikeiron.com' } undefined 

i have set npm proxy & .npmrc has following entries:

proxy=http://localhost:3128/ https-proxy=http://localhost:3128/ 

kindly help.


Comments

Popular posts from this blog

apache - PHP Soap issue while content length is larger -

asynchronous - Python asyncio task got bad yield -

javascript - Complete OpenIDConnect auth when requesting via Ajax -