mercredi 7 février 2018

laravel 5 vagrant showing connection has timed out

I am using windows 10 and trying to setup Laravel 5.5 project using Laravel + Vagrant. I have followed https://laravel.com/docs/5.5/homestead

Following is folder structure in E:\jass means E = drive and jass = folder

.vagrant
laravel_project
Homestead(folder)
ubuntu-xenial-16.04-cloudimg-console.log
Vagrantfile

Following is Vagrantfile code

Vagrant.configure("2") do |config|

  config.vm.box = "ubuntu/xenial64"


  config.vm.network "forwarded_port", guest: 80, host: 8000
  config.vm.network "forwarded_port", guest: 3000, host: 8081

  config.vm.synced_folder "laravel_project", "/var/www/html"
   config.vm.provider "virtualbox" do |vb|

     vb.memory = "1024"
   end  
end

Following is Homestead/Homestead.yaml file code

folders:
    - map: E:/jass/laravel_project
      to: /home/vagrant/code

sites:
    - map: panel.homestead.app
      to: /home/vagrant/code/public

Following is hosts file code C:\Windows\System32\drivers\etc\hosts

192.168.10.10 panel.homestead.app

But now when I access http://panel.homestead.app/ then I get "The connection has timed out". I tried different solutions like change settings in mozilla, disable firewall etc but nothing worked. What could be the fix in this case? Any suggestions please?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire