webpack-dev-server --port 9090 指定端口号,命令仍不能执行,确认不是端口冲突的问题
来源:5-4 webpack热加载配置(下)
慕粉17098071134
2017-09-23
webpack版本:
"webpack": "^3.6.0",
"webpack-dev-server": "^2.8.2"
错误日志:
Project is running at http://localhost:9090/
webpack output is served from /
events.js:182
throw er; // Unhandled 'error' event
^
Error: listen EADDRINUSE 127.0.0.1:9090
at Object.exports._errnoException (util.js:1022:11)
at exports._exceptionWithHostPort (util.js:1045:20)
at Server.setupListenHandle [as _listen2] (net.js:1315:14)
at listenInCluster (net.js:1363:12)
at GetAddrInfoReqWrap.doListen [as callback] (net.js:1489:7)
at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:96:10)
2回答
-
Parry
2017-09-23
https://stackoverflow.com/questions/8553957/how-to-release-localhost-from-error-listen-eaddrinuse
00 -
慕粉17098071134
提问者
2017-09-23
webpack --watch 是没有问题的
032017-12-04
相似问题