Index: tests/standalone/io/http_server_test.dart |
diff --git a/tests/standalone/io/http_server_test.dart b/tests/standalone/io/http_server_test.dart |
index bd8362eb22d7ee03c9a6e098330d72516ececaef..afdd819cbee4cf71323a88ca127ae7bf5e940f1e 100644 |
--- a/tests/standalone/io/http_server_test.dart |
+++ b/tests/standalone/io/http_server_test.dart |
@@ -39,7 +39,7 @@ void testListenOn() { |
} |
// Test two connection after each other. |
- ServerSocket.bind().then((s) { |
+ ServerSocket.bind("127.0.0.1", 0).then((s) { |
socket = s; |
server = new HttpServer.listenOn(socket); |
ReceivePort serverPort = new ReceivePort(); |