private static String doParse(String addr) {
        if (StringUtils.isBlank(addr)) {
            return StringUtils.EMPTY;
        }
        // Find the first and second '/' positions
        int firstSlash = addr.indexOf('/');
        int secondSlash = addr.indexOf('/', firstSlash + 1);
        if (firstSlash != -1) {
            if (secondSlash != -1) {
                // Extract the IP address and port
                String ip = addr.substring(firstSlash + 1, secondSlash);
                String port = addr.substring(secondSlash + 1);
                if (port.contains(":")) {
                    port = port.split(":")[1];
                }
                return ip + ":" + port;
            } else {
                // Only one slash, return the part after the slash
                return addr.substring(firstSlash + 1);
            }
        }
        return addr;
    }
<ol>
<li>if an address starts with a '/', skip it.
<li>if an address contains a '/', substring it.
</ol>

@param addr
@return
src/main/java/com/alipay/remoting/util/RemotingUtil.java