Looks like you have set the boxes IP to 192.168.10.10 but the IP you are sending spark-test.app is 192.168.10.13.
Cant't access my spark app in my homestead box
When I try to open my Spark site in browser, the connection fails due to timeout.
Here is how I setup my environment on Mac OS X:
- Edited /etc/hosts and include the following line
192.168.10.13 . spark-test.app #for access through http://spark-test.app
- Cloned a homestead box:
git clone https://github.com/laravel/homestead.git ~/homestead-spark-test
- Created Homestead.yaml
cd ~/homestead-spark-test nano Homestead.yaml This is my Homestead.yaml
ip: "192.168.10.10" memory: 2048 cpus: 1 provider: virtualbox name: homestead-spark-test
authorize: ~/.ssh/id_rsa.pub
keys:
- ~/.ssh/id_rsa
folders:
- map: ~/Code to: /home/vagrant/Code
sites:
- map: spark-test.app to: /home/vagrant/Code/spark-test/public
databases:
- homestead
- Changed to ~/Code and run
spark new spark-test
- Changed to ~/homestead-spark-test
sudo vagrant up sudo vagrant ssh The box is up and running, I can successfully connect and cd ~/Code/spark-test php artisan migrate The tables are created succesfully
Open http://spark-test.app does not connect/times out... :(
Any advice? I repeated the whole process several times with no success. What I am missing here?
Please or to participate in this conversation.