Http 家庭路由器停止的Npm请求

Http 家庭路由器停止的Npm请求,http,npm,router,Http,Npm,Router,你好 我的机器在32位windows 7上运行。我已经通过nodejs.org上的安装程序安装了Node.jS 当我尝试处理涉及NPM http请求的任何事情时,它只是暂停。没有错误,只是永远继续下去。 经过反复尝试,我得出结论,这是我家路由器的故障。我尝试设置DMZ,端口转发:80,但没有任何帮助。可能端口错误,但我找不到要转发的端口 我不使用代理,有动态ip 事情是这样的: C:\Users\By-the-ocean\Desktop\delme>npm install -ddd exp

你好

我的机器在32位windows 7上运行。我已经通过nodejs.org上的安装程序安装了Node.jS

当我尝试处理涉及NPM http请求的任何事情时,它只是暂停。没有错误,只是永远继续下去。 经过反复尝试,我得出结论,这是我家路由器的故障。我尝试设置DMZ,端口转发:80,但没有任何帮助。可能端口错误,但我找不到要转发的端口

我不使用代理,有动态ip

事情是这样的:

C:\Users\By-the-ocean\Desktop\delme>npm install -ddd express
npm info it worked if it ends with ok
npm verb cli [ 'C:\\Program Files\\nodejs\\\\node.exe',
npm verb cli   'C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js',
npm verb cli   'install',
npm verb cli   '-ddd',
npm verb cli   'express' ]
npm info using npm@2.10.1
npm info using node@v0.12.4
npm verb install initial load of C:\Users\By-the-ocean\Desktop\delme\package.json
npm verb readDependencies loading dependencies from C:\Users\By-the-ocean\Desktop\delme\package.json
npm sill cache add args [ 'express', null ]
npm verb cache add spec express
npm sill cache add parsed spec { raw: 'express',
npm sill cache add   scope: null,
npm sill cache add   name: 'express',
npm sill cache add   rawSpec: '',
npm sill cache add   spec: '*',
npm sill cache add   type: 'range' }
npm sill addNamed express@*
npm verb addNamed "*" is a valid semver range for express
npm sill addNameRange { name: 'express', range: '*', hasData: false }
npm sill mapToRegistry name express
npm sill mapToRegistry using default registry
npm sill mapToRegistry registry https://registry.npmjs.org/
npm sill mapToRegistry uri https://registry.npmjs.org/express
npm verb addNameRange registry:https://registry.npmjs.org/express not in flight;
 fetching
npm verb request uri https://registry.npmjs.org/express
npm verb request no auth needed
npm info attempt registry request try #1 at 09:18:50
npm verb request id 50d2de54ad349278
npm http request GET https://registry.npmjs.org/express
/
更详细一点: 我在普通的windows笔记本电脑上,通过路由器连接到互联网。 请求来自同一台机器到NPM服务器(http和https版本都已尝试过) 没有路由器,我无法通过cabel直接连接。
Windows防火墙已完全关闭。路由器上也没有防火墙。

请提供更多详细信息,您是在同一台机器上提出请求的吗?因为DMZ只有在你从一台单独的机器向你本地的机器发出请求时才有意义。我承认我不知道DMZ做什么,它在那里也有类似的问题。我的请求来自同一台机器。