public static LocalFileSystemClient CreateClientForOtherPort(IConfiguration configuration, IGrpcChannelPool channelPool, int port)
        {
            var addr = configuration["NODE_IP"];

            var channel = channelPool.GetChannelForAddress($"http://{addr}:{port}");

            return(new LocalFileSystemClient(new StorageAdapter.StorageAdapterClient(channel)));
        }
        public LocalFileSystemClient(ILogger <LocalFileSystemClient> logger, IConfiguration configuration,
                                     IGrpcChannelPool channelPool, int port = 5001)
        {
            _logger = logger;
            var addr = configuration["NODE_IP"];

            _logger.LogInformation($"Connecting to the nodeip: {addr}");
            var channel = channelPool.GetChannelForAddress($"http://{addr}:{port}");

            this._client = new StorageAdapter.StorageAdapterClient(channel);
        }