这是配置文件
ip: "192.168.10.10"
memory: 2048
cpus: 1
provider: virtualbox
authorize: ~/.ssh/id_rsa.pub
keys:
- ~/.ssh/id_rsa
folders:
- map: /Users/xizy/dev/Code
to: /home/vagrant/Code
sites:
- map: qhtpay.dev
to: /home/vagrant/Code/qhtpay/public
- map: adminqht.dev
to: /home/vagrant/Code/admin_qhtpay/public
databases:
- homestead
host文件
127.0.0.1 localhost
255.255.255.255 broadcasthost
::1 localhost
192.168.10.10 qhtpay.dev
192.168.10.10 adminqht.dev
访问 qhtpay.dev 和 adminqht.dev都是报错 无法连接到服务器