使用Redis时,有时候报错
It was not possible to connect to the redis server(s); to create a disconnected multiplexer, disable AbortOnConnectFail. SocketFailure on PING
只需在我们的连接字符串中增加abortConnect=false就行了
192.168.8.233:6379,abortConnect=false,password=123
文章版权声明:除非注明,否则均为老余个人博客原创文章,转载或复制请以超链接形式并注明出处。
发表评论