search

Home  >  Q&A  >  body text

node.js - webpack-dev-server --progress --colors 端口被占用怎么换端口

$ webpack-dev-server --progress --colors 0% compile events.js:141

  throw er; // Unhandled 'error' event
  ^

Error: listen EACCES 127.0.0.1:8080

at Object.exports._errnoException (util.js:870:11)
at exports._exceptionWithHostPort (util.js:893:20)
at Server._listen2 (net.js:1218:19)
at listen (net.js:1267:10)
at net.js:1376:9
at GetAddrInfoReqWrap.asyncCallback [as callback] (dns.js:63:16)
at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:82:10)
巴扎黑巴扎黑2777 days ago547

reply all(1)I'll reply

  • 高洛峰

    高洛峰2017-04-17 15:28:13

    webpack-dev-server --progress --colors --port 8888

    reply
    0
  • Cancelreply