0

我已经设置了一个远程 redis 服务器。

客户端使用 Web 代理连接到 Internet。

如何在 C# 中设置 StackExchange.redis ConnectionMultiplexer 以使用 webProxy?

以下是我的 ConnectionMultiplexer 代码:

ConnectionMultiplexer redis = ConnectionMultiplexer.Connect("xxxx:6379,password=xxxxx"); 
4

1 回答 1

0

StackExchange.redis ConnectionMultiplexer 使用端口连接到 Redis。需要在客户端上更改防火墙以连接到 6379。如果需要在端口 80 上设置一个简单的 Web 服务,如 Redisd 或 Webdis。这将允许您使用 http Web 请求来获取和设置密钥。

于 2016-09-05T07:35:50.873 回答