Index: tests/standalone/io/http_redirect_test.dart |
diff --git a/tests/standalone/io/http_redirect_test.dart b/tests/standalone/io/http_redirect_test.dart |
index adcd6c331c737d68f17e1bf6a692e97f9c03491b..363f8d0c684bcc848df83ae810ea566212aafc52 100644 |
--- a/tests/standalone/io/http_redirect_test.dart |
+++ b/tests/standalone/io/http_redirect_test.dart |
@@ -10,7 +10,7 @@ import "dart:uri"; |
Future<HttpServer> setupServer() { |
Completer completer = new Completer(); |
- HttpServer.bind().then((server) { |
+ HttpServer.bind("127.0.0.1", 0).then((server) { |
var handlers = new Map<String, Function>(); |
addRequestHandler(String path, void handler(HttpRequest request, |