Php homestead up:指定的主机网络与非纯主机网络冲突
系统:Windows1010240 流浪汉:1.7.4 virtualbox:5.0.2 我试过VirtualBox 4.3.30,4.3.28,…4.3.12,当我运行Php homestead up:指定的主机网络与非纯主机网络冲突,php,laravel,homestead,Php,Laravel,Homestead,系统:Windows1010240 流浪汉:1.7.4 virtualbox:5.0.2 我试过VirtualBox 4.3.30,4.3.28,…4.3.12,当我运行homestead up时,它失败了,并显示相同的错误消息: C:\Windows\system32>homestead up Bringing machine 'default' up with 'virtualbox' provider... ==> default: Clearing any previousl
homestead up
时,它失败了,并显示相同的错误消息:
C:\Windows\system32>homestead up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Clearing any previously set network interfaces...
The specified host network collides with a non-hostonly network!
This will cause your specified IP to be inaccessible. Please change
the IP or name of your host only network so that it no longer matches that of
a bridged or non-hostonly network.
这是我的homestad.yaml文件
---
ip: "192.168.0.15"
memory: 2048
cpus: 1
provider: virtualbox
authorize: ~/.ssh/id_rsa.pub
keys:
- ~/.ssh/id_rsa
folders:
- map: D:/wnmp/www
to: /home/vagrant/Code
sites:
- map: homestead.com
to: /home/vagrant/Code/Laravel/public
databases:
- homestead
variables:
- key: APP_ENV
value: local
# blackfire:
# - id: foo
# token: bar
# client-id: foo
# client-token: bar
# ports:
# - send: 93000
# to: 9300
# - send: 7777
# to: 777
# protocol: udp
尝试不同的IP,比如10.0.0.X