Windows 10: wsl2 portproxy not working properly

Discus and support wsl2 portproxy not working properly in Windows 10 Software and Apps to solve the problem; win11 x64 + wsl2 ubuntups1 script for portproxy was added to autorun:Start-Sleep -Seconds 60netsh interface portproxy delete v4tov4... Discussion in 'Windows 10 Software and Apps' started by ke1evra, Apr 14, 2023.

  1. ke1evra Win User

    wsl2 portproxy not working properly


    win11 x64 + wsl2 ubuntups1 script for portproxy was added to autorun:Start-Sleep -Seconds 60netsh interface portproxy delete v4tov4 listenaddress=0.0.0.0 listenport=22netsh interface portproxy delete v4tov4 listenaddress=0.0.0.0 listenport=8000netsh interface portproxy add v4tov4 listenaddress=0.0.0.0 listenport=22 connectaddress=<ubuntu-ip> connectport=22netsh interface portproxy add v4tov4 listenaddress=0.0.0.0 listenport=8000 connectaddress=<ubuntu-ip> connectport=8000Everything worked fine before several reboots maybe windows update. And now at wsl startup I get error in ubun

    :)
     
    ke1evra, Apr 14, 2023
    #1
  2. Flaviu2 Win User

    WSL2 for windows

    I have failed into installing WSL for Windows. I have read here: https://docs.microsoft.com/en-us/win.../install-win10 how to do it, and at step 4:


    1. Download the latest package:
      [COLOR=var(--text)][COLOR=var(--info-dark)] Note[/COLOR]
      If you're using an ARM64 machine, please download the ARM64 package instead. If you're not sure what kind of machine you have, open Command Prompt or PowerShell and enter: systeminfo | find "System Type".
      [/COLOR]
    2. Run the update package downloaded in the previous step. (Double-click to run - you will be prompted for elevated permissions, select ‘yes’ to approve this installation.)

    I encountered:


    wsl2 portproxy not working properly 298438d1600682026t-wsl2-windows-image.png


    and


    wsl2 portproxy not working properly 298439d1600682036t-wsl2-windows-image.png


    What I did wrong ? I have the following W10 version:

    wsl2 portproxy not working properly 298440d1600682100t-wsl2-windows-image.png


    Another question: am I in the the right forum ?
     
    Flaviu2, Apr 14, 2023
    #2
  3. WSL2 - Upgrade / Installation

    When trying to upgrade to wsl2 I get this error:

    ```

    Conversion in progress, this may take a few minutes...

    For information on key differences with WSL 2 please visit Comparing WSL Versions

    The request is not supported.

    ```

    When trying to install from scratch I get this error:

    ```

    Installing, this may take a few minutes...

    WslRegisterDistribution failed with error: 0x80070032 Error:

    0x80070032 The request is not supported.

    ```

    I have hyper-v, wsl, vm platform features enables and virtualization is also enabled in bios.

    my windows version is: 21H2 OS Build 1904

    Tried reinstalling a couple of times already, tried all available version of ubuntu (both from microsoft store and through wsl, available on wsl --list --online WSL1 is running properly but I need wsl2 to work with docker desktop
     
    YossiShalumov, Apr 14, 2023
    #3
  4. Remon Ont Win User

    wsl2 portproxy not working properly

    Windows not working properly

    Thank you for the information.

    We suggest that you try to run Hardware and Device troubleshooter using the steps below:

    • Write Troubleshooting in the search box and hit enter.
    • Select the Hardware and Device options from the list.
    • Click Run the troubleshooter.
    We also suggest that you update the keyboard driver and check if it work.

    Hope it helps. Keep us posted.
     
    Remon Ont, Apr 14, 2023
    #4
Thema:

wsl2 portproxy not working properly

Loading...
  1. wsl2 portproxy not working properly - Similar Threads - wsl2 portproxy working

  2. WSL2 Stopped Working

    in Windows 10 Gaming
    WSL2 Stopped Working: WSL stopped working today when I started up my machine. I get the following error: WSL2 is not supported with your current machine configuration.Please enable the "Virtual Machine Platform" optional component and ensure virtualization is enabled in the BIOS.For information...
  3. WSL2 Stopped Working

    in Windows 10 Software and Apps
    WSL2 Stopped Working: WSL stopped working today when I started up my machine. I get the following error: WSL2 is not supported with your current machine configuration.Please enable the "Virtual Machine Platform" optional component and ensure virtualization is enabled in the BIOS.For information...
  4. Cannot connect to WSL2 docker service from LAN, netsh portproxy already set

    in Windows 10 Software and Apps
    Cannot connect to WSL2 docker service from LAN, netsh portproxy already set: Hello, I recently started a docker service in my WSL2 ubuntu, and I would like to access it from my LAN devices, I followed the instructions in this article: https://learn.microsoft.com/en-us/windows/wsl/networking, ,my command was:netsh interface portproxy add v4tov4...
  5. Cannot connect to WSL2 docker service from LAN, netsh portproxy already set

    in Windows 10 Gaming
    Cannot connect to WSL2 docker service from LAN, netsh portproxy already set: Hello, I recently started a docker service in my WSL2 ubuntu, and I would like to access it from my LAN devices, I followed the instructions in this article: https://learn.microsoft.com/en-us/windows/wsl/networking, ,my command was:netsh interface portproxy add v4tov4...
  6. wsl2 portproxy not working properly

    in Windows 10 Gaming
    wsl2 portproxy not working properly: win11 x64 + wsl2 ubuntups1 script for portproxy was added to autorun:Start-Sleep -Seconds 60netsh interface portproxy delete v4tov4 listenaddress=0.0.0.0 listenport=22netsh interface portproxy delete v4tov4 listenaddress=0.0.0.0 listenport=8000netsh interface portproxy add...
  7. WSL2

    in Windows 10 Software and Apps
    WSL2: Hello,Could anyone please tell me whether WSL2 has any kind of connection to the internet or external network or application/service?Thanks in advance!Kind regards,Oliver Jenkins https://answers.microsoft.com/en-us/windows/forum/all/wsl2/788253f6-ebec-44ef-987f-29a2d5cb1fd1
  8. WSL2

    in Windows 10 Network and Sharing
    WSL2: Hello thereI've been trying to make wsl2 work on my surface pro 5 but I find myself unable to make sense of the range of suggestions from forums.The problem is that wsl can't connect to the internet, and so far I've tried to change the wsl.conf file according to this...
  9. WSL2 not working

    in Windows 10 Gaming
    WSL2 not working: Upgraded to Windows 11 today and decided to install WSL2, already have WSL1 and Ubuntu installed so I entered the commands "WSL --update" and after reboot "WSL --set-version Ubuntu-20.04 2" to upgrade to WSL2, but the latter command throws error: Please enable the Virtual...
  10. WSL2 not working

    in Windows 10 Software and Apps
    WSL2 not working: Upgraded to Windows 11 today and decided to install WSL2, already have WSL1 and Ubuntu installed so I entered the commands "WSL --update" and after reboot "WSL --set-version Ubuntu-20.04 2" to upgrade to WSL2, but the latter command throws error: Please enable the Virtual...