-
Notifications
You must be signed in to change notification settings - Fork 835
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WSL2 Apache2 vhost not working #4347
Comments
Same here with nginx, running in a docker-container.
|
I have the same issue, sometimes it loads forever and the second time it loads instantly.
But it is extremely unstable and can't be used like this at the moment. |
Seems to be related to #4340 |
Thanks, it works! :) |
The |
This didn't work for me, any other workaround? |
I realized that, if I put:
instead of
in the Windows hosts file, it works, I don't know if this is a normal behaviour for IPv6 |
The comment above worked for me |
|
I can confirm that I was able to access what I needed after adding the following to the hosts file: |
Also worked for me but still encountered errors related to DNS. I tried flushing dns in windows host using |
Hello!
I installed apache2 in WSL2,
modified root directory in apache2.conf:
I create a test.conf in /etc/apache2/sites-available folder. It contains:
Add test.tld to /system32/drivers/etc/hosts
127.0.0.1 test.tld
But not loading site test.tld
I modified DocumentRoot to /home/udvi/Projects/html in 000-default.conf and localhost sometimes loads well and sometimes doesn't, but test.tld never loads.
The error is: ERR_CONNECTION_REFUSED
The text was updated successfully, but these errors were encountered: