-
Notifications
You must be signed in to change notification settings - Fork 1
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
Symfony CLI : proxy & Windows + WSL #6
Comments
Après quelques tests :
A tester si la commande netsh demeure nécessaire, et si oui si elle accepte localhost comme |
On ne peut finalement pas utiliser localhost à la place de l'IP de WSL, le réseau ne parvient pas à récupérer le fichier Il faut donc récupérer l'IP de WSL, la mettre dans les settings Windows, et utiliser la commande netsh pour forwarder les ports 7080 et facultativement 8000. |
Autre solution découverte ici. A voir si ça a été répercuté sur la doc officielle |
Pour moi (sous WSL + Firefox) ça marche avec |
wsl hostname -I
to get your WSL's IP address.netsh interface portproxy add v4tov4 listenport=7080 listenaddress=0.0.0.0 connectport=7080 connectaddress=<your WSL IP>
, this will create a bridge between your Windows and WSL and make127.0.0.1:7080
accessibleSettings > Network > Proxy
and use the installation scripthttp://<your WSL IP>:7080/proxy.pac
Open http://127.0.0.1:7080 and you should see Symfony CLI proxy web UI.
The text was updated successfully, but these errors were encountered: