homestead up:指定的主机网络与非主机网络冲突

时间:2015-08-14 09:43:28

标签: php laravel homestead

system:windows10 10240

流浪:1.7.4

virtualbox:5.0.2

我尝试过virtualbox4.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 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.

这是我的Homestead.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

1 个答案:

答案 0 :(得分:2)

尝试使用不同的IP,例如10.0.0.X