Index: pkg/http/test/utils.dart |
diff --git a/pkg/http/test/utils.dart b/pkg/http/test/utils.dart |
index f2563f735caa83c6dda3eb965edb4118fdeb43ef..ab3f5f6dfdebeb1e67fb23d7bdbea7807c920d66 100644 |
--- a/pkg/http/test/utils.dart |
+++ b/pkg/http/test/utils.dart |
@@ -27,7 +27,7 @@ Uri get dummyUrl => Uri.parse('http://dartlang.org/'); |
/// Starts a new HTTP server. |
Future startServer() { |
- return SafeHttpServer.bind("localhost", 0).then((s) { |
+ return SafeHttpServer.bind("127.0.0.1", 0).then((s) { |
_server = s; |
s.listen((request) { |
var path = request.uri.path; |