Answer the question
In order to leave comments, you need to log in
Error starting Homestead. How to eliminate?
When I run the vagrant up command, I get a message about a problem with the ports. How to eliminate?
Windows 10
VirtualBox 6.0.6
Vagrant 2.2.4
[email protected] MINGW64 /d/projects/homestead ((v8.3.1))
$ vagrant up
Bringing machine 'homestead-7' up with 'virtualbox' provider...
== > homestead-7: Importing base box 'laravel/homestead'...
==> homestead-7: Matching MAC address for NAT networking...
==> homestead-7: Checking if box 'laravel/homestead' version '7.2 .1' is up to date...
==> homestead-7: Setting the name of the VM: homestead-7
==> homestead-7: Fixed port collision for 80 => 8000. Now on port 2250.
While this port was marked to be auto-corrected, the ports in the
auto-correction range are all also used.
VM: homestead-7
Forwarded port: 443 => 44300
Answer the question
In order to leave comments, you need to log in
Exactly the same problem.
At the same time, the ports that Vagrant swears at are free on the host machine.
The following helped me.
Added a line to Homestead.yaml
The line disables the default port mapping.
After that, the command vagrant up
timed out, but this was solved by setting up the VM in VirtualBox - there, in the network settings of the virtual machine, you need to select the first adapter and (in the "Advanced" section) check the box "Connect cable".
Yes, one more thing. Some mappings are still needed (3306 => 33060 for mysql). They can be added manually in the "Port Forwarding" menu, all in the same "Advanced" tab in the VM network settings.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question