Index: tests/standalone/io/socket_close_test.dart |
diff --git a/tests/standalone/io/socket_close_test.dart b/tests/standalone/io/socket_close_test.dart |
index 791c6793035bb565af3b696e3b371234d4a5d932..d89c7981d966adef23f23f6670c3553287fd24a5 100644 |
--- a/tests/standalone/io/socket_close_test.dart |
+++ b/tests/standalone/io/socket_close_test.dart |
@@ -339,7 +339,7 @@ class SocketCloseServer { |
_closeEvents = 0; |
_iterations = 0; |
_mode = message; |
- ServerSocket.bind().then((server) { |
+ ServerSocket.bind("127.0.0.1", 0).then((server) { |
_server = server; |
_server.listen( |
(socket) { |