From b15e3721d978be3995df503c716d94d0d473868d Mon Sep 17 00:00:00 2001 From: Pawel Filipczak Date: Fri, 28 Jun 2024 09:34:43 +0200 Subject: [PATCH] Modified bind address for test --- .../ComponentTests/Util/BuiltinHttpServerAppCodeHostStarter.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/ElasticApmTests/ComponentTests/Util/BuiltinHttpServerAppCodeHostStarter.php b/tests/ElasticApmTests/ComponentTests/Util/BuiltinHttpServerAppCodeHostStarter.php index e327f9fdb..4b04ef3d2 100644 --- a/tests/ElasticApmTests/ComponentTests/Util/BuiltinHttpServerAppCodeHostStarter.php +++ b/tests/ElasticApmTests/ComponentTests/Util/BuiltinHttpServerAppCodeHostStarter.php @@ -74,7 +74,7 @@ protected function buildCommandLine(array $ports): string { Assert::assertCount(1, $ports); return InfraUtilForTests::buildAppCodePhpCmd($this->agentConfigSourceBuilder->getPhpIniFile()) - . " -S localhost:" . $ports[0] + . " -S 0.0.0.0:" . $ports[0] . ' "' . FileUtilForTests::listToPath([__DIR__, self::APP_CODE_HOST_ROUTER_SCRIPT]) . '"'; }