code/libraries/joomlatools/component/koowa/dispatcher/request/request.php
public function getPort()
    {
        $port = parent::getPort();

        if (JUri::getInstance()->isSsl() || ($this->isSecure() && in_array($port, ['80', '8080']))) {
            $port = '443';
        }

        return $port;
    }
public function getPort()
    {
        $port = parent::getPort();

        if (JUri::getInstance()->isSsl() || ($this->isSecure() && in_array($port, ['80', '8080']))) {
            $port = '443';
        }

        return $port;
    }
public function getPort ( ) { $ port = parent :: getPort ( ) ; if ( JUri :: getInstance ( ) -> isSsl ( ) || ( $ this -> isSecure ( ) && in_array ( $ port , [ '80' , '8080' ] ) ) ) { $ port = '443' ; } return $ port ; }
If the current Joomla URI is on https or PHP is on a secure connection always return 443 instead of 80

{@inheritdoc}
If the current Joomla URI is on https or PHP is on a secure connection always return 443 instead of 80