shayne / go-wsl2-host

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

Start wsl2host at system boot #50

Closed tiaghoalves closed 3 years ago

tiaghoalves commented 3 years ago

Sup guys, I've been using wsl2host service for a while to execute my projects in Windows localhost from the WSL2 VM's host, but I don't why it doesn't work since every Windows boot.

Since then, I always need to restart the wsl2 vm with wsl --shutdown and then start it again to make it happen properly. Please, if you could help to figure out what I'm missing I'll be thankful.

tiaghoalves commented 3 years ago

Closing, problem solved with: https://github.com/shayne/go-wsl2-host/issues/53#issuecomment-768179157