You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 8, 2019. It is now read-only.
「serve」: { Error: listen EADDRINUSE 127.0.0.1:8081
at Object._errnoException (util.js:1022:11)
at _exceptionWithHostPort (util.js:1044:20)
at Server.setupListenHandle [as _listen2] (net.js:1367:14)
at listenInCluster (net.js:1408:12)
at GetAddrInfoReqWrap.doListen [as callback] (net.js:1517:7)
@meteorlxy this isn't a bug - that's the default port for the WebSocket server. If you're choosing to use that as the primary web serve's port as well, then you're configuring this for failure out of the gate. The solution is simply not to do that.
This issue is for a:
Code
API
Expected Behavior
Works well
Actual Behavior
How Do We Reproduce?
It's related to:
webpack-serve/lib/server.js
Lines 117 to 118 in c9235b5
If all ports are free, only
8081
port have this error. As those twogetPort
s will both find port from8081
and then use the same port.The core problem is that those two
getPort
s have the possibility to get a some port and cause conflictThe text was updated successfully, but these errors were encountered: