andre před 2 roky
rodič
revize
1aafe6ed44

+ 3 - 3
app/Enums/Kerio.php

@@ -23,13 +23,13 @@ class Kerio
     /**
      * connection ports
      */
-    const SECURE_PORT   = 7071;
-    const PORT          = 7072;
+    const SECURE_PORT   = 4040;
+    const PORT          = 4040;
 
     /**
      *
      */
-    const CLIENT_PORT   = 8443;
+    const CLIENT_PORT   = 443;
 
     /**
      * Kerio statuses

+ 1 - 1
app/Libs/Kerio/Components/Api/Soap/Client.php

@@ -58,7 +58,7 @@ class Client implements ClientInterface
      * @param string $user
      * @throws SoapFault
      */
-    public function __construct($server, $port = 7071, $username, $password, $user = "admin")
+    public function __construct($server, $port = 4040, $username, $password, $user = "admin")
     {
         $this->connection = new Connection($server, $port, $username, $password, $user);
         $this->connection->login();