Answer the question
In order to leave comments, you need to log in
Why is the vagrant environment not working?
Do not take it for impudence, but I ask you to help me understand Vagrant and with its further implementation, since I have been unable to understand what the problem is for the whole day, and the problem is practically at the very beginning. I tried to do everything according to the rules, installed a virtual box, vagrant was installed normally. Uncommented line 15 in vagrantfile - config.vm.box = "generic/ubuntu1804" (according to boxing), line 26 - config.vm.network "forwarded_port", guest: 80, host: 80 (changed as advised on one video 8080 -> to 80 at the end of this line), and line 46 - config.vm.synced_folder "C:/Users/Kero8yte/Vagrant/projects", "/var/www" (changed the paths and added a new directory projects in the folder with vagrant).
Vagrant.configure("2") do |config|
config.vm.box = "generic/ubuntu1804"
config.vm.network "forwarded_port", guest: 80, host: 80
config.vm.synced_folder "C:/Users/Kero8yte/Vagrant/projects", "/var/www"
end
Next, vagrant reload - wrote that everything went well. I generated a private key in putty, set the address to 127.0.0.1 port 2200 Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question