shayne / go-wsl2-host

Automatically update your Windows hosts file with the WSL2 VM IP address
1.65k stars 142 forks source link

subsystem also need to access windows by fix domain #75

Open 13661172102 opened 2 years ago

13661172102 commented 2 years ago

by this tools, wo can access subsystem by domain, but it dosen't help when we use subsystem to access windows. Would u please add this feature?

toriqo commented 2 years ago

what exactly are you trying to ask? access the hosting windows machine by host? if that's the case, just add the ip and host of the windows machine to /etc/hosts in your wsl distro...