Tell Vagrant the ip of the host machine

Not sure, if it will work for everybody, though all my virtual box machines see host machine by this “magic” ip:

10.0.2.2

Don’t know if it’s always static, though for me works and it’s very convenient – I can use laptop at home, from office – having assigned different IPs to me by routers, but my VMs know the “trusty name” of their master 🐶

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)