jedis链接服务超时connect timed out

在eclipse中写jedis测试时,链接虚拟机中的redis服务。提示connect timed outhtml 一、多是虚拟机网卡未开。redis 打开虚拟机网卡网络 二、若是仍是链接超时,那就是虚拟机端口未打开。参考https://www.cnblogs.com/moxiaoan/p/5683743.html便可eclipse 固然能够用简单的办法systemctl stop firewal
相关文章
相关标签/搜索