bxb100 / bxb100.github.io

This is my blog
https://blog.tomcat.run
MIT License
1 stars 0 forks source link

记一次 Win Docker 无法在局域网内连接的解决方案 #18

Open bxb100 opened 2 years ago

bxb100 commented 2 years ago

我出现的问题是 docker firewall UAC 弹窗的时候只允许了 public 连接,然后网络变成 private 导致无法连接

Get-NetFirewallRule | where { $_.Name -like "*docker*" } | ft

进入 Control Panel\System and Security\Windows Defender Firewall\Allowed apps 添加 private 权限即可

相关文章参考 https://blog.miniasp.com/post/2021/06/14/Docker-Desktop-for-Windows-Windows-Firewall-Issues