使用Redis连接错误处理It was not possible to connect to the redis server(s);to create a disconnected multiple

使用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

posted @ 2022-01-04 11:38  韩梦芫  阅读(1101)  评论(0编辑  收藏  举报