连接redis的命令(连接redis失败啥意思)

连接redis的命令(连接redis失败啥意思)raise RuntimeError Unable to connect to Redis If the Redis instance RuntimeError Unable to connect to Redis If the Redis instance is on a different machine check that your firewall

大家好,我是讯享网,很高兴认识大家。



 raise RuntimeError("Unable to connect to Redis. If the Redis instance " RuntimeError: Unable to connect to Redis. If the Redis instance is on a different machine, check that your firewall is configured properly.
讯享网

 

讯享网

可以发现5406这个程序正在占用6379redis端口。

讯享网

这个5460改成对应占用的进程就行了

再次输入netstat -ano | findstr 6379进行验证:

发现目前没有其它进程占用6379端口了

发现连接成功了!        

小讯
上一篇 2025-04-22 11:24
下一篇 2025-05-03 17:33

相关推荐

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容,请联系我们,一经查实,本站将立刻删除。
如需转载请保留出处:https://51itzy.com/kjqy/158859.html