redis鏈接出現java.net.SocketTimeoutException: connect timed out

第一種:centos中使用systemctl stop firewalld.service中止防火牆。 沒有解決redis 第二種:設置延時的時候記得乘以1000,由於默認爲微秒【redisConfig.getTimeout()*1000】spring package com.jack.seckill.redis; import org.springframework.beans.factory
相關文章
相關標籤/搜索