diff --git a/test/test-tcp-pingpong.js b/test/test-tcp-pingpong.js index 85e01a83ff7..3f35b4cd4fc 100644 --- a/test/test-tcp-pingpong.js +++ b/test/test-tcp-pingpong.js @@ -69,7 +69,7 @@ function onLoad() { }; assertEquals("closed", client.readyState); - client.connect(port); + client.connect(port, "localhost"); } function onExit () {