Homestead ip与配置文件不同

时间:2015-07-03 13:09:49

标签: laravel-5 virtualbox ubuntu-14.04 homestead

我试图在我的Ubuntu 14.04上安装Laravel + Vagrant + Homestead。我的/ etc / hosts有这一行:

192.168.10.10   homestead.app

和我的.homestead / Homestead.yaml有

ip: "192.168.10.10"
...
folders:
    - map: ~/blog
      to: /home/vagrant/blog
sites:
    - map: homestead.app
      to: /home/vagrant/blog/public

那是因为我已经用#la; laravel new blog"进行了测试。之前,所以我试图用这个作为测试。

但是当我把'#34; homestead.app"在我的浏览器中,它说:

The following error was encountered while trying to retrieve the URL: http://homestead.app/

    Connection to 127.0.53.53 failed.

The system returned: (111) Connection refused

这个地址在哪里" 127.0.53.53"来自?

另外,当我发出命令

vagrant box add laravel/homestead

并收到

==> box: Adding box 'laravel/homestead' (v0.2.7) for provider: virtualbox
    box: Downloading: https://atlas.hashicorp.com/laravel/boxes/homestead/versions/0.2.7/providers/virtualbox.box
==> box: Successfully added box 'laravel/homestead' (v0.2.7) for 'virtualbox'!

不应该存在" laravel / homestead"我打开virtualbox时可见吗?

1 个答案:

答案 0 :(得分:1)

您不拥有homestead.app,因此请勿将其用作网址。

IP告诉我ICANN informing you of a name collision