How to debug “Vagrant cannot forward the specified ports on this VM” message

后端 未结 13 2662
时光取名叫无心
时光取名叫无心 2020-12-25 10:33

I\'m trying to start a Vagrant instance and getting the following message:

Vagrant cannot forward the specified ports on this VM, since they
would collide wi         


        
13条回答
  •  一整个雨季
    2020-12-25 11:00

    My observation: I did not have any processes running on port 8000, so essentially the port forwarding did not work. Fix: Phil's answer provided a solution

    ~/.vagrant.d/boxes/ 
    

    The above path had other versions of vagrant files that listed the port 8000. Once I pruned them all using the below command I was able to run vagrant up successfully

    vagrant box remove [name] --all
    

提交回复
热议问题