public static boolean portCheck(int port) {
        return port > 0 && port < 65535;
    }
Check if the port is valid.

@param port port need to check
@return true: valid, false: invalid
inlong-manager/manager-common/src/main/java/org/apache/inlong/manager/common/util/NetworkUtils.java