unable to access localhost of WSL from windows.

2022-06-09T09:45:44.477+00:00

In some machine I am unable to access wsl localhost .Though it works with IP of Linux Distribution Installed in WSL. As per document the localhost of Windows and WSL should be same. So why is there discrepancy in few systems and what is work around

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
6,006 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
3,545 questions
Windows 10 Network
Windows 10 Network
Windows 10: A Microsoft operating system that runs on personal computers and tablets.Network: A group of devices that communicate either wirelessly or via a physical connection.
1,941 questions
1 vote

4 answers

Sort by: Most helpful
  1. Андрей Корень 6 Reputation points
    2022-06-11T18:01:57.103+00:00

    W67SB0присоеденяйся

    No comments

  2. Karlie Weng 8,216 Reputation points Microsoft Employee
    2022-06-14T01:36:46.587+00:00

    Hello @Sharma, Shubham (GE Healthcare)

    I would suggest to post this issue in Github, users there are more familiar with this issue and are better at solving it.

    211081-image.png

    Best Regards
    Karlie

    ----------

    If the Answer is helpful, please click "Accept Answer" and upvote it.

    No comments

  3. Limitless Technology 37,351 Reputation points
    2022-06-16T15:22:17.173+00:00

    Hi there,

    Check which version of WSL you are running.

    You can list your installed Linux distributions and check the version of WSL each is set to by entering the command: wsl -l -v in PowerShell or Windows Command Prompt.

    It is also recommend that you regularly update and upgrade your packages using the preferred package manager for the distribution.

    https://learn.microsoft.com/en-us/windows/wsl/install

    ---------------------------------------------------------------------------------------------------------------------------------------------------

    --If the reply is helpful, please Upvote and Accept it as an answer--


  4. Nora Ahmed 6 Reputation points
    2022-06-18T07:39:51.897+00:00

    It must be Windows 10 or Windows 11