I can’t access the IP of the hotel

Asked

Viewed 292 times

2

Good morning, I’m trying to install the Homestead from Laravel 5.5, following the documentation. However, when I try to access IP 192.168.10.10, which is the default IP of the Homestead, it keeps loading and cannot solve. This is even before thinking about DNS, only ip, it can no longer solve, with this the DNS in the file /etc/hosts also not. I’ve done and remade installations some 3x, but nothing worked, I researched and researched, recommended to install gnome-nettools to see the network adapters, and I saw that there is an adapter of the virtual box that is catching 192.168.10.1, I don’t know if this can be wrong. But wanted help to solve this problem, I will leave below the files /etc/hosts (which at the moment is not the problem, as soon as I solve the ip, I believe DNS will be solved)

Homestead.yaml:

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

authorize: ~/.ssh/id_rsa.pub

keys:
    - ~/.ssh/id_rsa

folders:
    - map: ~/code
      to: /home/vagrant/code

sites:
    - map: screencast.app
      to: /home/vagrant/code/screencast

databases:
    - homestead

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

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

/etc/hosts

127.0.0.1   localhost
127.0.1.1   matheus-PC

# The following lines are desirable for IPv6 capable hosts
::1     ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters

192.168.10.10 screencast.app

Photo of the network adapter vboxnet0 vboxnet0

There is also the vboxnet1 network adapter vboxnet1

PS: I am using Deepin linux 15.4.1.

PS2: The ip that my server (work) gives me is 172.16.10.X, thus working with the mask 255.255.255.0.

PS3: When I play ip 127.0.0.1:8000 it manages to hit there, but I think this is by the redirect created by Vagrant (port 8000 host => 80 guest).

From now on, I appreciate all your help, thank you!

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.