What is Nostr?
Feoh /
npub1y86…n02j
2024-07-05 16:01:48

Feoh on Nostr: ## #Windows #WSL configuration tip I just learned about that made my workflow a LOT ...

##

#Windows #WSL configuration tip I just learned about that made my workflow a LOT smoother. In my /etc/wsl.conf:#

Sets the /etc/fstab file to be processed when a WSL distribution is launched.mountFsTab = true

[experimental]

autoMemoryReclaim = gradual

[wsl2]##



localhostforwarding=trueIn particular, the localhostforwarding thing is HUGE.

Before, when I wanted to run anything that started up a web server and wanted me to connect via localhast, it was a faff. I needed to figure out the IP address of the WSL2 VM and connect through that.

With this setting? localhost works just like you'd expect, and I can connect with my Windows browser. Nice!
Author Public Key
npub1y86096369k6fea7d75n2qtm530mvh7cn4t8lrsdgh2z28dcsh55qm3n02j