Share via

Windows 11 Using WSL for website dev

Ray Jender 1 Reputation point
2022-01-13T22:19:29.54+00:00

I want the wsl linux to be on my local network 192.168.x.x rather than the 172.x.x.x

I have installed apache2 on the wsl ubuntu but can't browse to it from the host win 11.

Right now I can ping the wsl ubuntu instance from the host windows 11 to the wsl, but not from wsl to host windows.

Ideas?

Ray

Windows for business | Windows Client for IT Pros | Networking | Network connectivity and file sharing
Windows for business | Windows Client for IT Pros | User experience | Other
Developer technologies | .NET | Other
0 comments No comments

2 answers

Sort by: Most helpful
  1. Limitless Technology 40,106 Reputation points
    2022-01-14T20:10:04.427+00:00

    Hello @Ray Jender

    Windows Firewall will block all the traffic besides HTTP. Please create a new inbound rule in Windows Firewall console to allow ICMPv4 to AllPorts

    Hope this helps with your query,

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

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

    Was this answer helpful?

    0 comments No comments

  2. Anonymous
    2022-01-13T22:21:27.087+00:00

    The product group for WSL actively monitors questions over at
    https://github.com/microsoft/WSL

    --please don't forget to upvote and Accept as answer if the reply is helpful--

    Was this answer helpful?


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.