Connection refused on WSL2

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

1 Like is WSL not Windows host

cat /etc/hosts       localhost      xxx

and if VirtualBox run on Windows host, Vagrant won’t connect to VM there on

See also Windows11 Host + WSL + ansible to provision Windows Server/Client - #2 by mloskot