wsl 功能开启的指令

netsh interface portproxy add v4tov4 listenaddress=0.0.0.0 listenport=8888 connectaddress=127.0.0.1 connectport=8888


开启虚拟平台功能
dism.exe /Online /Enable-Feature /FeatureName:VirtualMachinePlatform /All

关闭虚拟平台功能
dism.exe /Online /Disable-Feature /FeatureName:VirtualMachinePlatform /All

命令

 

posted @ 2024-09-10 08:11  方达达  阅读(14)  评论(0编辑  收藏  举报