public static int findAvailableTcpPort(int minPort, int maxPort) {
        return SocketType.TCP.findAvailablePort(minPort, maxPort);
    }
Find an available TCP port randomly selected from the range
[{@code minPort}, {@code maxPort}].
@param minPort the minimum port number
@param maxPort the maximum port number
@return an available TCP port number
@throws IllegalStateException if no available port could be found
agent-module/plugins-test-module/testcase/src/main/java/com/navercorp/pinpoint/testcase/util/SocketUtils.java