public static int findAvailableUdpPort(int minPort) {
        return findAvailableUdpPort(minPort, PORT_RANGE_MAX);
    }
Find an available UDP port randomly selected from the range [{@code minPort}, {@value #PORT_RANGE_MAX}].

@param minPort the minimum port number
@return an available UDP port number
@throws IllegalStateException if no available port could be found
grpc-common-spring-boot/src/main/java/net/devh/boot/grpc/common/util/SocketUtils.java