ServiceStack.Redis:无法连接:sPort:50071 [英] ServiceStack.Redis: Unable to Connect: sPort: 50071

查看:99
本文介绍了ServiceStack.Redis:无法连接:sPort:50071的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用ServiceStack Redis Client,我希望可以弄清可能导致以下错误的原因...无法连接:sPort:50071"?我正在使用"PooledRedisClientManager"对象进行连接.感谢您的协助.

I'm using the ServiceStack Redis Client and I was hoping that I could get a clarification on what might cause the following error ... "Unable to Connect: sPort: 50071"? I'm using the "PooledRedisClientManager" object for connections. Thanks for any assistance.

推荐答案

如果您正在使用自我托管 REDIS服务器并使用

IF YOU ARE USING A SELF HOSTED REDIS SERVER AND USING THE Service Stack Redis Client THEN BUYER BEWARE

截至2015年9月23日

As of 9/23/2015

Service Stack在客户端代码(而不是服务器)中进行许可证验证.如果您每小时翻阅大量消息超过6000条,那么您会得到.产生的错误是

Service Stack does license validation in the client code (rather than the server). If you are ripping through a lot of messages 6000+ an hour you will get. The resulting error is

Unable to Connect: sPort: 

但是,它没有处理其自定义的LicenseExpection并正确暴露了错误.错误可能是这样的:

However, it is not handling their custom LicenseExpection and exposing the error correctly. The error would be something like this:

The free-quota limit on '6000 Redis requests per hour' has been reached. Please see https://servicestack.net to upgrade to a commercial license or visit https://github.com/ServiceStackV3/ServiceStackV3 to revert back to the free ServiceStack v3.

我怀疑您是否对服务器设置了这样的限制:-)

I doubt you have imposed such a limit on your server :-)

这篇关于ServiceStack.Redis:无法连接:sPort:50071的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆