Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #5 from nairboon/master

check for EACCES
  • Loading branch information...
commit fe67dc1a726f97c551a89171fde243ac6f5d67cf 2 parents 89cd91c + c966dbc
@indexzero authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/portfinder.js
View
2  lib/portfinder.js
@@ -51,7 +51,7 @@ exports.getPort = function (options, callback) {
function onError (err) {
options.server.removeListener('listening', onListen);
- if (err.code !== 'EADDRINUSE') {
+ if (err.code !== 'EADDRINUSE' && err.code !== 'EACCES') {
return callback(err);
}
Please sign in to comment.
Something went wrong with that request. Please try again.