mardi 11 janvier 2022

Can't connect to website on port 80 with Laravel Homestead

I'm using Laravel Homestead for my development environment. I have it working at 192.168.0.141:8000, but I need it to work directly at just 192.168.0.141 (i.e. port 80). But it's just not working and I'm not sure what I'm doing wrong. I had it working months ago, but it's not working anymore.

Here's my Homestead.yaml:

---
ip: "192.168.10.10"
memory: 2048
cpus: 2
provider: virtualbox
ssl: true

folders:
    - map: C:\Users\John\Documents\Github\my-app
      to: /home/vagrant/my-app

sites:
    - map: homestead.test
      to: /home/vagrant/my-app/public

networks:
    - type: "public_network"
      ip: "192.168.0.141"

databases:
    - homestead

features:
    - mysql: false
    - mariadb: false
    - postgresql: false
    - ohmyzsh: false
    - webdriver: false


via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire