Estou com erro ao rodar o vagrant up, este comando é necessário para além de redimensionar o disco, configurar banco, IP etc. Até busquei comentar as linhas "config.vm.network". Dúvida essas linhas são realmente necessárias? O que faço reinstalo o Vagrant e tento refazer os passos ou há alguma dica quanto as portas?
C:\Users\A626034\Desktop\ALURA\JENKINS\1110-aula-inicial>vagrant up Bringing machine 'default' up with 'virtualbox' provider... ==> default: Checking if box 'ubuntu/bionic64' version '20230530.0.0' is up to date... Vagrant cannot forward the specified ports on this VM, since they would collide with some other application that is already listening on these ports. The forwarded port to 9000 is already in use on the host machine.
To fix this, modify your current project's Vagrantfile to use another port. Example, where '1234' would be replaced by a unique host port:
config.vm.network :forwarded_port, guest: 9000, host: 1234
Sometimes, Vagrant will attempt to auto-correct this for you. In this case, Vagrant was unable to. This is usually because the guest machine is in a state which doesn't allow modifying port forwarding. You could try 'vagrant reload' (equivalent of running a halt followed by an up) so vagrant can attempt to auto-correct this upon booting. Be warned that any unsaved work might be lost.
C:\Users\A626034\Desktop\ALURA\JENKINS\1110-aula-inicial>vagrant up Bringing machine 'default' up with 'virtualbox' provider... ==> default: Checking if box 'ubuntu/bionic64' version '20230530.0.0' is up to date... ==> default: Clearing any previously set network interfaces...