-
Notifications
You must be signed in to change notification settings - Fork 755
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: listen EACCES: permission denied 0.0.0.0:3100 #1705
Comments
possible duplicate of #1668 , I just had this issue and it was caused by a virtual network card. If you cannot disable them all then disable them one by one until you find the culprit and decide what to do from there... |
You use Sudo if using UNIX . |
The only thing that fixed this for me (after disabling all but my main network adapter) was to follow the guidelines at the bottom of this article here: For a full network reset! Worked immediately on reboot (I have docker for windows and had recently messed about with both switching to windows containers and then back to linux containers + Android virtual machine stuff that needed Hyper-V turned back on...)... Must have played havoc with network adapters... So the nuclear option: Full network reset 😉 |
run this .bat file %1 mshta vbscript:CreateObject("Shell.Application").ShellExecute("cmd.exe","/c %~s0 ::","","runas",1)(window.close)&&exit
cd /d "%~dp0"
net stop winnat
net start winnat
exit |
I was facing somewhat same issue for most of ports (even on ports above 1024 that don't need any special permission)
|
Node.js: v12.4.0.
Windows: 10
NPM: 6.9.0
I keep getting this error and I'm unsure how to resolve it. Any help would be greatly appreciated, error code below:
events.js:177
throw er; // Unhandled 'error' event
^
Error: listen EACCES: permission denied 0.0.0.0:3100
at Server.setupListenHandle [as _listen2] (net.js:1209:19)
at listenInCluster (net.js:1274:12)
at Server.listen (net.js:1362:7)
at Object. (C:\Users\chrisconnolly\customer-support\server.js:167:8)
at Module._compile (internal/modules/cjs/loader.js:774:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:785:10)
at Module.load (internal/modules/cjs/loader.js:641:32)
at Function.Module._load (internal/modules/cjs/loader.js:556:12)
at Function.Module.runMain (internal/modules/cjs/loader.js:837:10)
at internal/main/run_main_module.js:17:11
Emitted 'error' event at:
at emitErrorNT (net.js:1253:8)
at processTicksAndRejections (internal/process/task_queues.js:84:9) {
code: 'EACCES',
errno: 'EACCES',
syscall: 'listen',
address: '0.0.0.0',
port: 3100
The text was updated successfully, but these errors were encountered: