1 Zy111 (@LuvSic) 在 有没有佬友知道如何让Windows上开发的SpringBoot项目能连接到WSL的redis上的 中发帖
用ifconfig找到wsl的IP是10.194.183.100,但是就是死活连接不上去不知道为什么
这是.wslconfig
[wsl2]
guiApplications = true
[experimental]
autoMemoryReclaim=gradual
networkingMode=mirrored
dnsTunneling=true
firewall=true
autoProxy=true
redis的配置也改了,bind改成0.0.0.0,保护模式也关了不知道为什么还是不行