直接在linux子系统使用域名:host.docker.internal ,该域名即windows宿主机。
https://stackoverflow.com/questions/24319662/from-inside-of-a-docker-container-how-do-i-connect-to-the-localhost-of-the-mach
直接在linux子系统使用域名:host.docker.internal ,该域名即windows宿主机。
https://stackoverflow.com/questions/24319662/from-inside-of-a-docker-container-how-do-i-connect-to-the-localhost-of-the-mach
本文标题:windows wsl2访问windows上的服务
本文链接:https://www.haomeiwen.com/subject/xhvjndtx.html
网友评论