Vagrant 为http共享框执行Vargrant Up时出错500

Vagrant 为http共享框执行Vargrant Up时出错500,vagrant,virtual-machine,vagrant-windows,Vagrant,Virtual Machine,Vagrant Windows,我正在创建一个windows server 2012的vagrant基本框,我想在内部共享它,为此我使用vagrant http share和下面的命令 流浪共享——http 80 在另一台机器上用流浪汉进入盒子 C:\Isentia\DevVM>vagrant init http://caring-dragon-2751.vagrantshare.com:80 A `Vagrantfile` has been placed in this directory. You are n

我正在创建一个windows server 2012的vagrant基本框,我想在内部共享它,为此我使用vagrant http share和下面的命令

流浪共享——http 80

在另一台机器上用流浪汉进入盒子

    C:\Isentia\DevVM>vagrant init http://caring-dragon-2751.vagrantshare.com:80
A `Vagrantfile` has been placed in this directory. You are now
ready to `vagrant up` your first virtual environment! Please read
the comments in the Vagrantfile as well as documentation on
`vagrantup.com` for more information on using Vagrant.

C:\Isentia\DevVM>vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Box 'http://caring-dragon-2751.vagrantshare.com:80' could not be fo
und. Attempting to find and install...
    default: Box Provider: virtualbox
    default: Box Version: >= 0
==> default: Box file was not detected as metadata. Adding it directly...
==> default: Adding box 'http://caring-dragon-2751.vagrantshare.com:80' (v0) for
 provider: virtualbox
    default: Downloading: http://caring-dragon-2751.vagrantshare.com:80
    default: Progress: 0% (Rate: 0curl:/s, Estimated time remaining: --:--:--)
An error occurred while downloading the remote file. The error
message, if any, is reproduced below. Please fix this error and try
again.

The requested URL returned error: 500 Internal Server Error
下面是流浪汉档案的内容

Vagrant.configure(2) do |config| 
  config.vm.box = "BuzzNumberDevBox"
  config.vm.guest = :windows
  config.vm.communicator = "winrm"
  config.vm.boot_timeout = 600
  config.vm.graceful_halt_timeout = 600
  # Admin user name and password
  config.winrm.username = "vagrant"
  config.winrm.password = "vagrant"  
  config.vm.define "dev" do |dev|
    dev.vm.network "private_network", ip: "192.168.100.10"
    dev.vm.host_name = "vagranttests.dev"
    dev.vm.network :forwarded_port, guest: 5985, host: 5985, id: "winrm", auto_correct: true
  end
  config.vm.provider :virtualbox do |vb|
      # Customize the name of VM in VirtualBox manager UI:
      vb.name = "BuzzNumber-Dev-VM-Web"
  end
end

我不明白的是,是什么阻止了任何机器访问它。文档要求直接使用该链接。

Vagrant share旨在共享对托管在VM上的应用程序的访问,而不是共享实际VM。如果您想共享虚拟机本身,您需要运行vagrant包对其进行打包,然后将其放在带有metadata.json的web服务器上,或者放在其他用户可以直接添加它的URL上。你能澄清一下,你是想把这个盒子复制到另一台机器上,还是只想访问运行在初始vagrant盒子上的服务吗?

我在运行Ubuntu/trusty64盒子的Ubuntu 15.10上也遇到了这个错误
Vagrant.configure(2) do |config| 
  config.vm.box = "BuzzNumberDevBox"
  config.vm.guest = :windows
  config.vm.communicator = "winrm"
  config.vm.boot_timeout = 600
  config.vm.graceful_halt_timeout = 600
  # Admin user name and password
  config.winrm.username = "vagrant"
  config.winrm.password = "vagrant"  
  config.vm.define "dev" do |dev|
    dev.vm.network "private_network", ip: "192.168.100.10"
    dev.vm.host_name = "vagranttests.dev"
    dev.vm.network :forwarded_port, guest: 5985, host: 5985, id: "winrm", auto_correct: true
  end
  config.vm.provider :virtualbox do |vb|
      # Customize the name of VM in VirtualBox manager UI:
      vb.name = "BuzzNumber-Dev-VM-Web"
  end
end