I have searched the [issues](https://github.com/apache/dubbo/issues) of this repository. There is a similar issue #10198. I did as the issue described, but still failed.

### Environment

* Dubbo version: branch 3.1
* Operating System version: win7
* Java version: 11

### Steps to reproduce this issue

1. modify the dubbo.properties in [dubbo-demo-xml-provider](https://github.com/apache/dubbo/tree/3.1/dubbo-demo/dubbo-demo-xml/dubbo-demo-xml-provider)
`dubbo.application.qos-enable=true`
`dubbo.application.qos-port=33333`
`dubbo.application.qos-accept-foreign-ip=true`
2. run dubbo-demo-xml-provider

### Expected Behavior

`telnet {ip} 33333` will connect to QoS server successfully.

### Actual Behavior

![1664249369632](https://user-images.githubusercontent.com/55968645/192425286-b545f34c-92f5-4842-ac82-ffe62281ef79.png)

There is no exception. Provider is successfully started and running.

private static String getRegistryProtocolType(URL url) {
        String registryProtocol = url.getParameter("registry-protocol-type");
        return isNotEmpty(registryProtocol) ? registryProtocol : REGISTRY_PROTOCOL;
    }
    public static void checkExtension(ScopeModel scopeModel, Class<?> type, String property, String value) {
        checkName(property, value);
        if (isNotEmpty(value)
            && !scopeModel.getExtensionLoader(type).hasExtension(value)) {
            throw new IllegalStateException("No such extension " + value + " for " + property + "/" + type.getName());
        }
    }
    /**
     * Check whether there is a <code>Extension</code> who's name (property) is <code>value</code> (special treatment is
     * required)
     *
     * @param type     The Extension type
     * @param property The extension key
     * @param value    The Extension name
     */
    public static void checkMultiExtension(ScopeModel scopeModel, Class<?> type, String property, String value) {
        checkMultiExtension(scopeModel,Collections.singletonList(type), property, value);
    }
    public static void checkMultiExtension(ScopeModel scopeModel, List<Class<?>> types, String property, String value) {
        checkMultiName(property, value);
        if (isNotEmpty(value)) {
            String[] values = value.split("\\s*[,]+\\s*");
            for (String v : values) {
                if (v.startsWith(REMOVE_VALUE_PREFIX)) {
                    v = v.substring(1);
                }