老师,redis连接不上了

来源:9-9 异步上传JS编写联调

程序媛小灯

2019-05-15

之前一直都用的好好的,今天在小程序登录的界面点登陆突然报这个错误。用redis desktop manager也连接不上去

微信开发工具报错:
timestamp: 1557898324564, status: 500, error: “Internal Server Error”, exception: “org.springframework.data.redis.RedisConnectionFailureException”, message: “Cannot get Jedis connection; nested exception is r…Exception: Could not get a resource from the pool”

eclipse报错:
严重: Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.springframework.data.redis.RedisConnectionFailureException: Cannot get Jedis connection; nested exception is redis.clients.jedis.exceptions.JedisConnectionException: Could not get a resource from the pool] with root cause
java.net.SocketTimeoutException: connect timed out

写回答

2回答

风间影月

2019-05-15

哈哈哈,那肯定啊,ip变了就要改的

0
1
程序媛小灯
忘记这还有个配置了= =
2019-05-15
共1条回复

程序媛小灯

提问者

2019-05-15

老师我解决问题了。。。application.properties里面redis的配置需要修改。。。

0
0

Spring Boot短视频小程序开发 全栈式实战项目

一门课程带你搞定短视频小程序全栈开发,毕业设计之利器!

2613 学习 · 1952 问题

查看课程