node-portastic icon indicating copy to clipboard operation
node-portastic copied to clipboard

EACCES Rejection

Open greghornby opened this issue 8 years ago • 0 comments

var portastic = require("portastic");

portastic.find({
    min: 1,
    max: 100
})
.then(function(ports){
    console.log('Ports available between 8000 and 8080 are: %s',
    ports.join(', '));
})

throws the error

Unhandled rejection Error: listen EACCES 0.0.0.0:1

this should just ignore the error and continue testing the ports

greghornby avatar May 14 '17 02:05 greghornby