When I goto my host ao.dev:8000 or ao.dev, "this site can't be reached,ao.dev refused to connect" is displayed.
My yaml file:
also i've my view file:
i've checked:
I've run vagrant up command by going to Homestead directory .
Also see: https://stackoverflow.com/questions/38801375/vagrant-up-not-forwarding-all-portshomesteadlaravel-5-2windows-10
Actually I was using WAMP before installing homestead. So I uninstalled both i.e. wamp and homestead setup including vagrant and virtual box. Then I installed homestead setup again and it worked. I dont know the logic behind but maybe wamp and homestead were conflicting. It worked so I posted the answer.
What I needed to do to get my local Laravel up and running:
.env
file had the correct hostname listed as the APP_URL
:8000
port to access the siteAdditionally:
vagrant provision
after adding each site to your Homestead.yaml
map
command, i.e. map: ao.dev
hostname
or name
elements to Homestead.yaml
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With