Closed
Description
In my laptop, port 8080 is in use, port 8081 is free.
When I start vuepress dev
command without any further configuration, it said port 8081 is in use. I think it should be 8080, and perhaps this error message is hard-coded. Please check it.
D:\JavaScript\DemoVuePress>vuepress dev
Extracting site metadata...
Compiling
* Client █████████████████████████ compiling (0%)
× 「serve」: { Error: listen EADDRINUSE 127.0.0.1:8081
at Object._errnoException (util.js:1024:11)
at _exceptionWithHostPort (util.js:1046:20)
at Server.setupListenHandle [as _listen2] (net.js:1351:14)
at listenInCluster (net.js:1392:12)
at GetAddrInfoReqWrap.doListen [as callback] (net.js:1501:7)
VuePress dev server listening at http://localhost:8081/
According to the vuepress documents, the default port is 8080, which is not free in my laptop, so I changed the default port to anther free port, everything is okay.
Working Environment
- Windows 7
- Node.JS 8.9.3
- VuePress 0.8.4
Metadata
Metadata
Assignees
Labels
No labels