Linux · Windows Subsystem for Linux (WSL)

You start an HTTP server inside WSL2 and want to browse it from Windows by host name. Why doesn't that work, and what has to be done instead each time?

Sign in to see the full answer — free to start on the web.

This is one card from the KnowCard library. The full way to learn it — spaced-repetition review, progress tracking, and AI explanations — lives in the KnowCard app, free to start on the web. iOS & Android are coming soon.

Get started — it’s free

Already have an account? Sign in →

More in Windows Subsystem for Linux (WSL)

What does the Windows Subsystem for Linux let you do that a virtual machine setup does not, and roughly when did it arrive?
A colleague says WSL1 already ran a Linux kernel and WSL2 just made it faster. Where is that wrong, and what actually changed in WSL2?
Before WSLg, how could you show a Linux GUI program on Windows, and what did WSLg change about that?
Someone runs Docker Desktop on Windows and assumes it has nothing to do with WSL. Why is that assumption off?
What are the Windows edition and setup requirements to get WSL running?
Two Windows users on the same PC both want Ubuntu under WSL. Why can't they just share the one installation, and what privileges does the WSL user get?