设置stackExchange Redis连接多路复用器的网络凭据

本文关键字:网络 复用器 多路 stackExchange Redis 连接 设置 | 更新日期: 2023-09-27 18:05:13

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

客户端使用web代理连接到internet。

如何设置StackExchange。redis ConnectionMultiplexer在c#中使用webProxy ?

下面是我的ConnectionMultiplexer代码:

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

设置stackExchange Redis连接多路复用器的网络凭据

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