bmustiata / fast-live-reload

A live reload that works with all the possible browsers.
18 stars 5 forks source link

Reloading doesn't work after Windows update on any port #22

Closed markknol closed 3 years ago

markknol commented 4 years ago

Hey there, I updated Windows to version 10.0.19041 Build 19041

After this update, I get an error when running the dev server:

Error: listen EACCES: permission denied 0.0.0.0:9001
    at Server.setupListenHandle [as _listen2] (net.js:1292:21)
    at listenInCluster (net.js:1357:12)
    at Server.listen (net.js:1445:7)
    at Function.serverListen [as listen] (C:\mark\projects\game\git\node_modules\express-ws\lib\index.js:40:28)
    at A.run (C:\mark\projects\game\git\node_modules\fast-live-reload\lib\fast-live-reload.js:317:23)
    at Object.<anonymous> (C:\mark\projects\game\git\node_modules\fast-live-reload\lib\fast-live-reload.js:1250:18)
    at Module._compile (internal/modules/cjs/loader.js:1158:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1178:10)
    at Module.load (internal/modules/cjs/loader.js:1002:32)
    at Function.Module._load (internal/modules/cjs/loader.js:901:14)
Emitted 'error' event on WebSocketServer instance at:
    at Server.WebSocketServer._onServerError (C:\mark\projects\game\git\node_modules\express-ws\node_modules\ws\lib\WebSocketServer.js:82:50)
    at Server.emit (events.js:311:20)
    at emitErrorNT (net.js:1336:8)
    at processTicksAndRejections (internal/process/task_queues.js:84:21) {
  code: 'EACCES',
  errno: 'EACCES',
  syscall: 'listen',
  address: '0.0.0.0',
  port: 9001
}
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

I did try several other ports. That removes the error, but the reloading doesn't seem to work anymore. Do you experience this too, and any how to solve this?

I am using "fast-live-reload": "=2.8.2",.

bmustiata commented 4 years ago

I updated most dependencies in 2.9.0. If there is some outdated dep I hope it's not an issue anymore.

Unfortunately my Windows 10 sits on the 10.0.18363.1016 version and tells me there are no updates available.

Also you should check your firewall rules, maybe that's the problem.

markknol commented 3 years ago

I lost track of this issue and have no idea what the issue was at the time, it works fine now.