Skip to content
Browse files

Merge pull request #6 from pranavraja/patch-1

Change bind address from 0.0.0.0 to 127.0.0.1 to prevent EADDRNOTAVAIL on windows
  • Loading branch information...
2 parents abae4f9 + 36ab7f9 commit 7ece74c22623a7b322f029de6f51bae702b06439 @tj tj committed
Showing with 1 addition and 2 deletions.
  1. +1 −2 lib/test.js
View
3 lib/test.js
@@ -1,5 +1,4 @@
-
/**
* Module dependencies.
*/
@@ -40,7 +39,7 @@ function Test(app, method, path) {
var addr = app.address();
var portno = addr ? addr.port : port++;
if (!addr) app.listen(portno);
- this.url = 'http://0.0.0.0:' + portno + path;
+ this.url = 'http://127.0.0.1:' + portno + path;
}
/**

0 comments on commit 7ece74c

Please sign in to comment.
Something went wrong with that request. Please try again.