diff --git a/src/Controller/CrontabController.php b/src/Controller/CrontabController.php index 59d37df..21b8f68 100644 --- a/src/Controller/CrontabController.php +++ b/src/Controller/CrontabController.php @@ -141,7 +141,8 @@ class CrontabController extends AbstractController $node->Connect( false === filter_var($server->getHost(), FILTER_VALIDATE_IP, FILTER_FLAG_IPV6) ? $server->getHost() : "[{$server->getHost()}]", - $server->getPort() + $server->getPort(), + 1 ); if ($node->Ping()) diff --git a/src/Controller/ServerController.php b/src/Controller/ServerController.php index efa9f25..5db937a 100644 --- a/src/Controller/ServerController.php +++ b/src/Controller/ServerController.php @@ -104,7 +104,8 @@ class ServerController extends AbstractController $node->Connect( false === filter_var($server->getHost(), FILTER_VALIDATE_IP, FILTER_FLAG_IPV6) ? $server->getHost() : "[{$server->getHost()}]", - $server->getPort() + $server->getPort(), + 1 ); if ($node->Ping())