diff --git a/test/mjsunit/test-keep-alive.js b/test/mjsunit/test-keep-alive.js index f82080d90ac..e360f6ef168 100644 --- a/test/mjsunit/test-keep-alive.js +++ b/test/mjsunit/test-keep-alive.js @@ -23,7 +23,7 @@ function error (msg) { } function runAb(opts, callback) { - sys.exec("ab " + opts + " http://localhost:" + PORT + "/") + sys.exec("ab " + opts + " http://127.0.0.1:" + PORT + "/") .addErrback(error) .addCallback(function (out) { var matches = /Requests per second:\s*(\d+)\./mi.exec(out);