Vagrant network collides with a non-hostonly network

前端 未结 5 1130
陌清茗
陌清茗 2021-02-18 23:53

I am trying to get a vagrant box up and running, but I keep getting network collide errors. This box is a fresh download of trusty64. I have been searching every file and folder

5条回答
  •  天涯浪人
    2021-02-19 00:26

    1. in homestead.rb find

    Configure A Private Network IP config.vm.network :private_network, ip: settings["ip"] ||= "192.168.10.10"

    because ip is fixed

    2. To set your own ip config.vm.network :public_network, ip: settings["ip"] ||= "192.168.1.234", :bridge => 'your own IP'

    3. reload box and choose you are using WIFI now you can access in the local network

提交回复
热议问题