Could not connect to Redis at 127.0.0.1:6379
时间: 2023-10-19 20:27:30 浏览: 155
redis_6379.conf
"Could not connect to Redis at 127.0.0.1:6379" 错误表示无法连接到本地的Redis服务器。该错误可能由多种原因引起。
一个常见的原因是Redis服务器没有正确启动。你可以通过在命令行中输入"redis-server"命令来启动Redis服务器,<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *3* [完美解决方案 redis Could not connect to Redis at 127.0.0.1:6379: Connection refused](https://blog.csdn.net/xujunming668/article/details/122370028)[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_2"}}] [.reference_item style="max-width: 50%"]
- *2* [Could not connect to Redis at 127.0.0.1:6379:由于目标计算机积极拒绝,无法连接。](https://blog.csdn.net/MarryLinDa/article/details/128307265)[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_2"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文