4 ms·
I’ve got a new-to-me (used HP Elitedesk 800 G1 SFF with 16g ram/240g ssd and I5-4590 with win 10 pro for $150) arriving this week. I haven’t built or bought a
by indigodaddy 6y ago
I’ve got a new-to-me (used HP Elitedesk 800 G1 SFF with 16g ram/240g ssd and I5-4590 with win 10 pro for $150) arriving this week. I haven’t built or bought a PC (had a few MacBooks in between) in probably 15 years, so this puppy is going to be well good enough for me and I’m looking forward to having a proper PC and getting a nice WSL and terminal setup and Scoop etc..
Question: any issue with WSL2 and network connectivity to say services such as node running in your wsl2 that you would connect to from your browser? I’ve heard that in wsl2 there could be issues with this and you may have to do some workarounds or extra config magic..
- theaustinseven 6y agoI haven't had any trouble. I'm running an elixir project that I'm testing over localhost, and you don't have to do any port magic whatsoever. Just run the app in WSL and go to localhost:port in your browser. The only problem I've had is if you do any of your development in the windows part of the filesystem, you might run into weird file locking issues, but I haven't had many of those. Also, the WSL extension for VS code makes it hardly noticeable that you're even working in windows.
- munchbunny 6y agoI have a setup right now where I have the server (Flask inside a container) running on WSL2 and a browser in Windows pointed at it with no issues. I believe there are some edge cases but you have to get into stuff that isn’t just “open a port and listen on it”.