After installing Ubuntu as WSL (Windows Subsystem for Linux), I've run (as root):
cd ~python3 -m http.server
Output:
Serving HTTP on 0.0.0.0 port 8000 ...
And I tried to access to this web server from my windows machine, http://0.0.0.0:8000
or http://192.168.1.178:8000
, but without any success. The web server is available only by the address http://127.0.0.1:8000
or http://localhost:8000
. It means that I can't connect to this web server from another PC in my network. Is it possible to get access to WSL from the outside?