Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/webtorrent/webtorrent.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/cmd.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/cmd.js b/bin/cmd.js
index 77ed919..c342be3 100755
--- a/bin/cmd.js
+++ b/bin/cmd.js
@@ -320,7 +320,7 @@ function runDownload (torrentId) {
.on('error', function (err) {
// In case the port is unusable
- if (err.code === 'EADDRINUSE') {
+ if (err.code === 'EADDRINUSE' || err.code === 'EACCES') {
// Let the OS choose one for us
server.listen(0, initServer)
}