I have an app (https://github.com/NV/chrome-devtools-autosave-server) that starts HTTP server on a given port. When the port is already in use it throws 'EADDRINUSE'. I would like to show a nice error message: "Port 9104 is occupied by process 'node' (pid: 4446).". I know I can use Unix’s "lsof -i :9104" to get this info, but it doesn’t work on Windows. Is there something like this that works on Windows as well?
-- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en
