src/main/java/com/alipay/remoting/util/RemotingUtil.java
public static String parseSocketAddressToString(SocketAddress socketAddress) {
        if (socketAddress != null) {
            return doParse(socketAddress.toString().trim());
        }
        return StringUtils.EMPTY;
    }
public static String parseSocketAddressToString(SocketAddress socketAddress) {
        if (socketAddress != null) {
            return doParse(socketAddress.toString().trim());
        }
        return StringUtils.EMPTY;
    }
Parse the socket address, omit the leading "/" if present.

e.g.1 /127.0.0.1:1234 -> 127.0.0.1:1234
e.g.2 sofatest-2.stack.alipay.net/10.209.155.54:12200 -> 10.209.155.54:12200

@param socketAddress
@return String