Laravel Homestead not working on manjaro

Posted 2 weeks ago by Punksolid

I think I did everything on the documentation

I installed virtualbox and vagrant as per project configuration. I enter to my project directory executed vendor/bin/homestead make and then vagrant up. Then added the only row 192.168.10.10 homestead.test to my /etc/host file. And then I try to enter to homestead.test and don't work. I tried in Chrome,firefox developer,chromium and firefox. I restarted the machine and nothing.

I think the server is working ok because I don't see anything unusual here

[[email protected] neotrm]$ vagrant reload
==> neotrm: Attempting graceful shutdown of VM...
==> neotrm: Checking if box 'laravel/homestead' version '7.2.1' is up to date...
==> neotrm: Clearing any previously set forwarded ports...
==> neotrm: Clearing any previously set network interfaces...
==> neotrm: Preparing network interfaces based on configuration...
    neotrm: Adapter 1: nat
    neotrm: Adapter 2: hostonly
==> neotrm: Forwarding ports...
    neotrm: 80 (guest) => 8000 (host) (adapter 1)
    neotrm: 443 (guest) => 44300 (host) (adapter 1)
    neotrm: 3306 (guest) => 33060 (host) (adapter 1)
    neotrm: 4040 (guest) => 4040 (host) (adapter 1)
    neotrm: 5432 (guest) => 54320 (host) (adapter 1)
    neotrm: 8025 (guest) => 8025 (host) (adapter 1)
    neotrm: 27017 (guest) => 27017 (host) (adapter 1)
    neotrm: 22 (guest) => 2222 (host) (adapter 1)
==> neotrm: Running 'pre-boot' VM customizations...
==> neotrm: Booting VM...
==> neotrm: Waiting for machine to boot. This may take a few minutes...
    neotrm: SSH address: 127.0.0.1:2222
    neotrm: SSH username: vagrant
    neotrm: SSH auth method: private key
==> neotrm: Machine booted and ready!
==> neotrm: Checking for guest additions in VM...
==> neotrm: Setting hostname...
==> neotrm: Configuring and enabling network interfaces...
==> neotrm: Mounting shared folders...
    neotrm: /vagrant => /home/ze/projects/trm/neotrm
    neotrm: /home/vagrant/code => /home/ze/projects/trm/neotrm
==> neotrm: Machine already provisioned. Run `vagrant provision` or use the `--provision`
==> neotrm: flag to force provisioning. Provisioners marked to run always will still run.
[[email protected] neotrm]$ ping homestead.test
PING homestead.test.huawei.net (120.78.181.57) 56(84) bytes of data.
64 bytes from 120.78.181.57 (120.78.181.57): icmp_seq=1 ttl=108 time=214 ms
64 bytes from 120.78.181.57 (120.78.181.57): icmp_seq=2 ttl=108 time=213 ms
64 bytes from 120.78.181.57 (120.78.181.57): icmp_seq=3 ttl=108 time=213 ms
^C
--- homestead.test.huawei.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 316ms
rtt min/avg/max/mdev = 212.836/213.497/214.399/0.760 ms

and also ping is giving data back. But I don't know why doesnt shot the right IP, instead shows homestead.test.huawei.net but I dont know if its the expected behavior.

Any idea on what to check?

Please sign in or create an account to participate in this conversation.

Reply to

Use Markdown with GitHub-flavored code blocks.