vgardner
vgardner

Reputation: 517

Vagrant not running on 33.33.33.10

The first time I started up vagrant, the VM was running on 33.33.33.10. After a "vagrant destroy", every time I start up vagrant it runs on 127.0.0.1 even though my Vagrantfile has the following configuration:

config.vm.network :hostonly, "33.33.33.10"

How do I get vagrant to run on 33.33.33.10 again?

Upvotes: 2

Views: 621

Answers (1)

mhaligowski
mhaligowski

Reputation: 2222

127.0.0.1 is loopback interface's home address. Your current machine is always 127.0.0.1.

When you're looking for the proper IP address, run command ifconfig (on UNIX), and look for eth interface.

I guess it's still running at the same address, you just missed the correct IP.

Would you please try running ifconfig eth0 on your virtual machine?

HTH.

Upvotes: 2

Related Questions