return request.getServerPort();
return result;
    public int getServerPort(ServletRequest request) {        if ("http".equals(request.getScheme().toLowerCase())            && (alwaysHttpPort != 0)) {            return alwaysHttpPort;        }        if ("https".equals(request.getScheme().toLowerCase())            && (alwaysHttpsPort != 0)) {            return alwaysHttpsPort;        }        return request.getServerPort();    }