Vagrant默认转发宿主的2222端口到虚拟机的22端口(默认设置,无须配置).在有多个虚拟机并存的情况下,2222端口将不好使.具体表现在: 启动第二个虚拟机的时候,会报端口占用错误: $ vagrant up Bringing machine 'default' up with 'virtualbox' provider... Vagrant cannot forward the specified ports on this VM, since they would collide wi