不能访问虚拟机里docker启动的redis

289 阅读1分钟
  • 可能原因: 打开了防火墙,关闭即可
# 查看防火墙状态
firewall-cmd --state
# 关闭防火墙
systemctl stop firewalld
  • 效果:

image.png