diff --git a/proxy.php b/proxy.php index bf7ceec..28dcc64 100644 --- a/proxy.php +++ b/proxy.php @@ -164,7 +164,7 @@ function startsWith($string, $with) { // If we can't get a socket open in 3 seconds when that is backed by // a dedicated thread, then we have a server missing in action. -$local = fsockopen("localhost", 9980, $errno, $errstr, 3); +$local = fsockopen("localhost", 9982, $errno, $errstr, 3); // Return the status and exit if it is a ?status request if ($statusOnly) { @@ -179,7 +179,7 @@ function startsWith($string, $with) { } else if ($errno == 111) { print '{"status":"starting"}'; } else { - $response = file_get_contents("http://localhost:9980/hosting/capabilities", 0, stream_context_create(["http"=>["timeout"=>1]])); + $response = file_get_contents("http://localhost:9982/hosting/capabilities", 0, stream_context_create(["http"=>["timeout"=>1]])); if ($response) { // Version check. $obj = json_decode($response); @@ -224,7 +224,7 @@ function startsWith($string, $with) { startLoolwsd(); while (true) { - $local = fsockopen("localhost", 9980, $errno, $errstr, 15); + $local = fsockopen("localhost", 9982, $errno, $errstr, 15); if ($errno == 111) { debug_log("Can't yet connect to socket so sleep"); usleep(50 * 1000); // 50ms.