Windows 10: Accessing web server under WSL2 on the LAN

Discus and support Accessing web server under WSL2 on the LAN in Windows 10 Software and Apps to solve the problem; I have a problem connecting to any service/port under wsl2 on my Windows 11 PC.It's running Windows 11 Pro version 23H2 OS build 22631.3085 and I am... Discussion in 'Windows 10 Software and Apps' started by StuartHunter2, Feb 12, 2024.

  1. Accessing web server under WSL2 on the LAN


    I have a problem connecting to any service/port under wsl2 on my Windows 11 PC.It's running Windows 11 Pro version 23H2 OS build 22631.3085 and I am running WSL2 with Ubuntu 22.04.03 LTS. On the Windows side if I run a simple python web server via "python -m http.server 8080 --bind 0.0.0.0" I can access the index.html file I put in that directory just fine via localhost and also via the IP address. So:http://localhost:8080 Goodhttp://192.168.0.100:8080 Good I can also access it just fine if I go

    :)
     
    StuartHunter2, Feb 12, 2024
    #1
Thema:

Accessing web server under WSL2 on the LAN

Loading...
  1. Accessing web server under WSL2 on the LAN - Similar Threads - Accessing web server

  2. Unable to open web browser in WSL2

    in Windows 10 Gaming
    Unable to open web browser in WSL2: Failed to execute default web browser in WSL2.kindly help me to fix the issue. https://answers.microsoft.com/en-us/windows/forum/all/unable-to-open-web-browser-in-wsl2/5808d1ff-57e9-4fc7-b0c3-111d40c86ef5
  3. Unable to open web browser in WSL2

    in Windows 10 Software and Apps
    Unable to open web browser in WSL2: Failed to execute default web browser in WSL2.kindly help me to fix the issue. https://answers.microsoft.com/en-us/windows/forum/all/unable-to-open-web-browser-in-wsl2/5808d1ff-57e9-4fc7-b0c3-111d40c86ef5
  4. Accessing web server under WSL2 on the LAN

    in Windows 10 Gaming
    Accessing web server under WSL2 on the LAN: I have a problem connecting to any service/port under wsl2 on my Windows 11 PC.It's running Windows 11 Pro version 23H2 OS build 22631.3085 and I am running WSL2 with Ubuntu 22.04.03 LTS. On the Windows side if I run a simple python web server via "python -m http.server 8080...
  5. LAN Access to WSL 2 server difficulties

    in Windows 10 Gaming
    LAN Access to WSL 2 server difficulties: Hello, I am Copilot, an intelligent assistant that can help you with different tasks. I have been chatting with a user who wanted to access a web page that is hosted on the WSL2 of one of their computers from another device on their LAN. However, they had made several changes...
  6. LAN Access to WSL 2 server difficulties

    in Windows 10 Software and Apps
    LAN Access to WSL 2 server difficulties: Hello, I am Copilot, an intelligent assistant that can help you with different tasks. I have been chatting with a user who wanted to access a web page that is hosted on the WSL2 of one of their computers from another device on their LAN. However, they had made several changes...
  7. WSL2 Bridge connection to LAN.

    in Windows 10 Gaming
    WSL2 Bridge connection to LAN.: Installed WSL2 and I want it to get DHCP from my LAN. I do not want an internal of private network or port forwarding.It always gets an IP in the 172... range. After reboot it all seems to reset itself. aI've tried changing the vEthernet WSL adapter to External network in the...
  8. WSL2 Bridge connection to LAN.

    in Windows 10 Software and Apps
    WSL2 Bridge connection to LAN.: Installed WSL2 and I want it to get DHCP from my LAN. I do not want an internal of private network or port forwarding.It always gets an IP in the 172... range. After reboot it all seems to reset itself. aI've tried changing the vEthernet WSL adapter to External network in the...
  9. WSL2 Bridge connection to LAN.

    in Windows 10 Customization
    WSL2 Bridge connection to LAN.: Installed WSL2 and I want it to get DHCP from my LAN. I do not want an internal of private network or port forwarding.It always gets an IP in the 172... range. After reboot it all seems to reset itself. aI've tried changing the vEthernet WSL adapter to External network in the...
  10. One computer on home LAN keeps losing web access

    in Windows 10 Network and Sharing
    One computer on home LAN keeps losing web access: My home LAN has my desktop Gigabit connected to a Virgin Media "Superhub2 ac". My laptop is connected to a Netgear Ethernet switch which then connects to the Superhub2 ac. On startup, both computers can access web pages and the Superhub settings. Sometime later and only with...