Laravel流浪了之后没有显示在浏览器中吗?

时间:2019-07-06 10:55:53

标签: laravel vagrant homestead

我是Laravel n Homestead的新手。请帮我:D

  1. 我用Git Bash在D:\ Source \ Laravel \ RestfulAPI中创建Laravel项目
  2. 我安装了无聊的虚拟盒子
  3. 创建Homestead.yml和Vagrantfile
  4. 编辑Homestead.yml和主机窗口(192.168.10.14 restfulapi.test)
  5. 无家可归(没有错误)
  6. 我在浏览器中尝试了restfulapi.test,但显示无法访问此网站

问题出在哪里?我尝试用Google搜索它,但仍然找不到答案。 谢谢。

https://www.youtube.com/watch?v=Il08--droNI
https://www.youtube.com/watch?v=EtnjyKcEB8Q
https://laracasts.com/discuss/channels/laravel/homestead-not-working-1

enter image description here

enter image description here

Homestead.yml

  

ip:192.168.10.14
  内存:1024
  cpus:2
  提供者:virtualbox
  授权:〜/ .ssh / id_rsa.pub
  按键:
  -〜/ .ssh / id_rsa
  文件夹:
  -
  地图:D:\ Source \ Laravel \ RestfulAPI
  到:/ home / vagrant / Code
  网站:   -
  地图:restfulapi.test
  到:/ home / vagrant / Code / restfulapi / public
  数据库:
  -宅基地
  名称:restfulapi
  主机名:restfulapi

0 个答案:

没有答案
相关问题