ServiceStack.Redis.RedisException:无法连接:sPort:50735

时间:2015-03-02 12:07:44

标签: redis servicestack.redis

我使用两个Redis Connections作为列表和一个键值对,当我将值附加到Redis键值对db时发生异常。

我得到了例外。

Statement=Error:- 
Description=ServiceStack.Redis.RedisException: Unable to Connect: sPort: 50735 ---> System.Net.Sockets.SocketException: An established connection was aborted by the software in your host machine    
at System.Net.Sockets.Socket.Send(IList`1 buffers, SocketFlags socketFlags)    
at ServiceStack.Redis.RedisNativeClient.FlushSendBuffer()    
at ServiceStack.Redis.RedisNativeClient.SendCommand(Byte[][] cmdWithBinaryArgs)    
--- End of inner exception stack trace ---    
at ServiceStack.Redis.RedisNativeClient.CreateConnectionError()    
at ServiceStack.Redis.RedisNativeClient.SendExpectLong(Byte[][] cmdWithBinaryArgs)    
at TxnDataCollect.clsRedisOperations.AppendValue(String strKey, String strValue)

0 个答案:

没有答案