summaryrefslogtreecommitdiff
path: root/tests/plugins/server
diff options
context:
space:
mode:
Diffstat (limited to 'tests/plugins/server')
-rw-r--r--tests/plugins/server/configs/.rr-tcp.yaml2
-rw-r--r--tests/plugins/server/tcp.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/plugins/server/configs/.rr-tcp.yaml b/tests/plugins/server/configs/.rr-tcp.yaml
index 4582482f..6b9c9ddb 100644
--- a/tests/plugins/server/configs/.rr-tcp.yaml
+++ b/tests/plugins/server/configs/.rr-tcp.yaml
@@ -5,7 +5,7 @@ server:
env:
- RR_CONFIG: "/some/place/on/the/C134"
- RR_CONFIG2: "C138"
- relay: "tcp://localhost:9999"
+ relay: "tcp://127.0.0.1:9999"
relay_timeout: "20s"
logs:
mode: development
diff --git a/tests/plugins/server/tcp.php b/tests/plugins/server/tcp.php
index 873f25b2..acc1e1a5 100644
--- a/tests/plugins/server/tcp.php
+++ b/tests/plugins/server/tcp.php
@@ -8,7 +8,7 @@ use Spiral\RoadRunner;
require dirname(__DIR__) . "/../vendor/autoload.php";
-$relay = new Goridge\SocketRelay("localhost", 9999);
+$relay = new Goridge\SocketRelay("127.0.0.1", 9999);
$rr = new RoadRunner\Worker($relay);
while ($in = $rr->waitPayload()) {