I have a site running Koken, part of the core platform code performs a request to it's self:curl_setopt($curl, CURLOPT_URL, self::$protocol . '://' . $_SERVER['HTTP_HOST'] . self::$location['real_root_folder'] . '/api.php?' . $url);
In Laragon this fails with the error: The theme is not able to make contact with your Koken installation. Contact your host to see if they are blocking loopback connections. Essentially the request doesn't return anything.
I'm guessing it's something to do with the server being unable to resolve the host? e.g. http://mysite.dev
Thanks in advance for any help.