Node.js : Can't run app with debugger: Error: listen EADDRINUSE :::5858Error: listen EADDRINUSE :::5858
Posted on Friday, October 13, 2017
When running some node code in debug mode:
node debug debugging.js
I got the following error:
Can't run app with debugger: Error: listen EADDRINUSE :::5858
Using netstat command netstat -an that is there any process running on 5858, i discoved an old “TIME_WAIT” from iisexpress was lingering about.
Found a handy application : CurrPorts, available to download from http://www.nirsoft.net/ , which allows viewing of all ports and protocols, and via this the process can be killed (if running as Administrator permissions)