You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Windows build number: Microsoft Windows [Version 10.0.19041.488]
Your Distribution version: Ubuntu 20.04
Whether the issue is on WSL 2 and/or WSL 1: Linux version 4.19.128-microsoft-standard (oe-user@oe-host) (gcc version 8.2.0 (GCC)) #1 SMP Tue Jun 23 12:58:10 UTC 2020
On Running wsl -l -v on powershell, it says version is 2
I want to access a website hosted on my wsl. I am using nginx server. For testing purpose I was trying to navigate to the default nginx landing page.
Steps to reproduce
Enable the network as home network in my firewall settings.
Run ipconfig on command prompt.
Navigate to the ip address given under IPv4 address from another computer on network.
WSL logs:
Expected behavior
The Nginx landing page will load
Actual behavior
ERR_CONNECTION_REFUSED error occurs.
I tried the same steps with docker and navigated to their ports and that's working.
The text was updated successfully, but these errors were encountered:
This is a known issue. If you want to achieve that, you'll have to install Docker Desktop, enable it for WSL2 and run your services (nginx, whatever) inside a Docker Container.
Hi! We've identified this issue as a duplicate of another one that already exists in this repository. This specific instance is being closed in favor of tracking the concern over on the referenced thread.
Environment
I want to access a website hosted on my wsl. I am using nginx server. For testing purpose I was trying to navigate to the default nginx landing page.
Steps to reproduce
WSL logs:
Expected behavior
The Nginx landing page will load
Actual behavior
ERR_CONNECTION_REFUSED error occurs.
I tried the same steps with docker and navigated to their ports and that's working.
The text was updated successfully, but these errors were encountered: