mardi 31 mai 2016

Laravel Homestead - I can ping homestead.app but I can't access in homestead.app in browser

Well:

I can access the files in the virtul server through vagrant SSH.

I can ping homestead.app through CMD.

I can ping the IP 192.160.10.10 through CMD.

But i can't access it through the browser.

if i enter 127.0.0.1:2222 in browser i get this:

SSH-2.0-OpenSSH_6.6.1p1 Ubuntu-2ubuntu2.6
Protocol mismatch.

this is my Homestead.yaml file:

    ---
ip: "192.168.10.10"
memory: 2048
cpus: 1
provider: virtualbox

authorize: ~/.ssh/id_rsa.pub

keys:
    - ~/.ssh/id_rsa

folders:
    - map: C:\projects\PHP
      to: /home/vagrant/Code

sites:
    - map: homestead.app
      to: /home/vagrant/Code/smr/public
      hhvm: true

databases:
    - laraveldb

# blackfire:
#     - id: foo
#       token: bar
#       client-id: foo
#       client-token: bar

# ports:
#     - send: 50000
#       to: 5000
#     - send: 7777
#       to: 777
#       protocol: udp

and this is the hosts file:

127.0.0.1 activate.adobe.com
192.168.10.10 homestead.app



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire