define('HTTP_SERVER', 'http://192.168.1.106');
define('HTTPS_SERVER', 'http://localhost');
Not correct
define('HTTP_SERVER', 'http://localhost');
define('HTTPS_SERVER', 'https://localhost');
is CORRECT