Name or service not known redis.exceptions.ConnectionError:
时间: 2023-10-21 21:58:18 浏览: 203
根据提供的引用内容,出现了一个redis.exceptions.ConnectionError错误,具体错误信息是Name or service not known。这个错误表示无法解析主机名或服务名。解决办法可以参考引用和引用提供的内容。其中提到了查看主机名解析的问题和配置Redis连接工厂的方法。你可以尝试查看主机名是否正确解析,并确保Redis连接工厂的配置正确。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *3* [Caused by: redis.clients.jedis.exceptions.JedisConnectionException: JedisPubSub was not subscribed t](https://blog.csdn.net/xuezhezhishen/article/details/84565738)[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* [JSON serializable , io.BufferedReader , lask redis Authentication required , Cannot connect to amqp:](https://blog.csdn.net/qq_33704787/article/details/125081562)[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 ]
阅读全文