Published 2 years ago by thomthom
I used Laravel and homestead for the first time about half a year ago - Windows 8 and Laravel 4. Did some quick experiment, but then didn't do anything more.
I then needed to do another quick project. Since then I updated to Windows 10 and ran update on composer, Virtualbox and homestead.
At some point things has stopped working - actually, they stopped working a number of times but I managed to get it working again.
Now I experience that when I fire up a box I can SSH into it either via
vagrant shh or
homestead ssh. When I list the lines in the box they include the folder I have configured in Homestead.yaml.
--- ip: "192.168.10.10" memory: 2048 cpus: 1 provider: virtualbox authorize: ~/.ssh/id_rsa.pub keys: - ~/.ssh/id_rsa folders: - map: ~/SourceTree/ErrorReporter to: /home/vagrant/ErrorReporter - map: ~/SourceTree/software-thomthom-net to: /home/vagrant/software-thomthom-net sites: - map: homestead.app to: /home/vagrant/Code/Laravel/public - map: sketchup.thomthom.local to: /home/vagrant/ErrorReporter/public - map: software.thomthom.local to: /home/vagrant/software-thomthom-net/public databases: - homestead - extensions - software variables: - key: APP_ENV value: local
And my hosts file:
# Copyright (c) 1993-2009 Microsoft Corp. # # This is a sample HOSTS file used by Microsoft TCP/IP for Windows. # # This file contains the mappings of IP addresses to host names. Each # entry should be kept on an individual line. The IP address should # be placed in the first column followed by the corresponding host name. # The IP address and the host name should be separated by at least one # space. # # Additionally, comments (such as these) may be inserted on individual # lines or following the machine name denoted by a '#' symbol. # # For example: # # 184.108.40.206 rhino.acme.com # source server # 220.127.116.11 x.acme.com # x client host # localhost name resolution is handled within DNS itself. # 127.0.0.1 localhost # ::1 localhost 192.168.10.10 sketchup.thomthom.local 192.168.10.10 software.thomthom.local
For some reason I access the box via the browser on either
I currently have Homestead 0.2.7 - while I saw there is 0.3.0 out there it failed to update.
In any case - I cannot access any of my homestead boxes whether I use
vagrant up or
I had this problem earlier as well - but I couldn't find a solution. However, at some point while I was fiddling around, updating everything - it started working. Now, something broke again. And despite searching and searching I cannot figure out what causes this.
Any ideas or pointers to how I can figure out why it fails to load via the browser?
... what? After writing this message I put my computer to sleep (hybernation) and went out. Just came back now, woke up the computer and everything suddenly works...
There is nothing that I've done to the computer since I posted this. I'm at a complete loss to why it temporarily wasn't working. ..or why it stopped working in the first place...