I’m trying to set a Vagrant personalized box. The environment is Ubuntu 20.04 under WSL2 on Windows 10 Pro 19041.
When i run vagrant up
show connection refused messages like the image:
Any suggestion ?
I’m trying to set a Vagrant personalized box. The environment is Ubuntu 20.04 under WSL2 on Windows 10 Pro 19041.
When i run vagrant up
show connection refused messages like the image:
Any suggestion ?
I have the same issue
127.0.0.1 is WSL not Windows host
cat /etc/hosts
127.0.0.1 localhost
127.0.1.1 xxx.example.com xxx
and if VirtualBox run on Windows host, Vagrant won’t connect to VM there on 127.0.0.1
See also Windows11 Host + WSL + ansible to provision Windows Server/Client - #2 by mloskot