Quantcast
Channel: Active questions tagged ubuntu - Stack Overflow
Viewing all articles
Browse latest Browse all 5956

Access a web server which is running on WSL (Windows Subsystem for Linux) from the local network

$
0
0

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?


Viewing all articles
Browse latest Browse all 5956

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>