Vagrant can't connect to guest VM

27 views
Skip to first unread message

Ron Trunk

unread,
Jun 23, 2020, 2:08:34 PM6/23/20
to Vagrant
Running:
Virtualbox 6.1.10 r138449 (Qt5.6.2)
Vagrant 2.2.9
Win 10 enterprise V1809

I create a VM using ubuntu/trusty64

The VM gets downloaded and created.  I can see in the console that the guest VM starts up and gets to the login prompt.
But vagrant never connects.  It sits at  "default: SSH auth method: private key" until it times out.  the guest VM is operational -- I can log in from the console

But I can't ssh:
>ssh vag...@127.0.0.1 -p 2222
ssh: connect to host 127.0.0.1 port 2222: Connection refused

Any advice would be greatly appreciated.

Alvaro Miranda Aguilera

unread,
Jun 28, 2020, 6:06:38 AM6/28/20
to vagra...@googlegroups.com
hello

try a different box

if the issue stills happen, quick question.
Are you on any VPN or corporate network?

Have you tried disabling as a test the Firewall of Windows?



--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
 
GitHub Issues: https://github.com/hashicorp/vagrant/issues
Discuss: https://discuss.hashicorp.com/c/vagrant/24
---
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vagrant-up+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/f84ba2dd-81c0-40c4-a159-d94e6b13c1f8o%40googlegroups.com.


--
Alvaro

Reply all
Reply to author
Forward
0 new messages