summaryrefslogtreecommitdiff
path: root/tests/http
diff options
context:
space:
mode:
Diffstat (limited to 'tests/http')
-rw-r--r--tests/http/client.php2
-rw-r--r--tests/http/slow-client.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/http/client.php b/tests/http/client.php
index ad5cce24..90b5c2b5 100644
--- a/tests/http/client.php
+++ b/tests/http/client.php
@@ -18,7 +18,7 @@ switch ($goridge) {
break;
case "tcp":
- $relay = new Goridge\SocketRelay("localhost", 9007);
+ $relay = new Goridge\SocketRelay("127.0.0.1", 9007);
break;
case "unix":
diff --git a/tests/http/slow-client.php b/tests/http/slow-client.php
index 731232f7..1eaa7bc8 100644
--- a/tests/http/slow-client.php
+++ b/tests/http/slow-client.php
@@ -19,7 +19,7 @@ switch ($goridge) {
break;
case "tcp":
- $relay = new Goridge\SocketRelay("localhost", 9007);
+ $relay = new Goridge\SocketRelay("127.0.0.1", 9007);
break;
case "unix":