Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/http/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Node.js 从不同的源ip地址发送请求_Node.js_Http_Request_Xmpp - Fatal编程技术网

Node.js 从不同的源ip地址发送请求

Node.js 从不同的源ip地址发送请求,node.js,http,request,xmpp,Node.js,Http,Request,Xmpp,我想从node.js项目中的不同源IP地址发送带有节点xmpp库的xmpp请求。 我有6个IP,我可以通过os.networkInterfaces()获得我的IP可能的重复我无法使用LocalAddress更改IP地址您当前在不分配源IP地址的情况下发出xmpp请求的代码是什么?可能的重复我无法使用LocalAddress更改IP地址您当前在不分配源IP的情况下发出xmpp请求的代码是什么地址?

我想从node.js项目中的不同源IP地址发送带有
节点xmpp
库的xmpp请求。
我有6个IP,我可以通过
os.networkInterfaces()获得我的IP

可能的重复我无法使用
LocalAddress更改IP地址
您当前在不分配源IP地址的情况下发出xmpp请求的代码是什么?可能的重复我无法使用
LocalAddress更改IP地址
您当前在不分配源IP的情况下发出xmpp请求的代码是什么地址?