redis.clients.jedis.exception.jedisConnectionException:java.net.ConnectException
时间: 2023-10-19 16:33:27 浏览: 123
redis.clients.jedis.exceptions.JedisConnectionException: java.net.ConnectException是一种在连接Redis时可能出现的异常。该异常表示连接被拒绝,无法建立与Redis服务器的连接。具体原因可能是由于Redis服务器未启动、端口号不正确或者网络连接问题导致无法连接到Redis服务器。解决该问题的方法包括检查Redis服务器是否已正常启动、确保端口号正确、检查网络连接是否正常等。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [详解Redis开启远程登录连接](https://download.csdn.net/download/weixin_38740201/14836767)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
- *2* *3* [redis.clients.jedis.exceptions.JedisConnectionException: java.net.ConnectException: Connection refus](https://blog.csdn.net/H1517043456/article/details/104482462)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文