public static String acquireHost(final ServerWebExchange exchange) {
        return SpringBeanUtils.getInstance().getBean(RemoteAddressResolver.class).resolve(exchange).getHostString();
    }
Acquire host string.

@param exchange the exchange
@return the string
shenyu-plugin/shenyu-plugin-base/src/main/java/org/apache/shenyu/plugin/base/utils/HostAddressUtils.java