作者热门文章
- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我的主机运行的是 Windows 7 Pro(64 位)。在这种情况下, guest 操作系统是 Windows Server 2008 R2。 'vagrant up' 命令遇到了一个问题,我不断收到:
****default: SSH address: 127.0.0.1:2222
default: SSH username: vagrant
default: SSH auth method: password
default: Warning: Connection timeout. Retrying...
default: Warning: Remote connection disconnect. Retrying...
default: Warning: Remote connection disconnect. Retrying...
default: Warning: Remote connection disconnect. Retrying...
default: Warning: Remote connection disconnect. Retrying...****
Vagrant.configure("2") do |config|
# Max time to wait for the guest to shutdown
config.windows.halt_timeout = 60
# Admin user name and password
config.winrm.username = "Administrator"
config.winrm.password = "Password"
# Configure base box parameters
config.vm.box = "BaseBox"
config.vm.box_url = "./Base.box"
config.vm.guest = :windows
config.vm.provider "virtualbox" do |v|
v.gui = true
end
# Port forward WinRM and RDP (changed values to NOT conflict with host)
config.vm.network :forwarded_port, guest: 3389, host: 3391
config.vm.network :forwarded_port, guest: 5985, host: 5987, id: "winrm", auto_correct: true
end
最佳答案
关于virtualbox - 为什么 Vagrant 尝试通过 SSH 连接到 Windows guest ?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23574387/
我正在开发一个 voip 调用应用程序。我需要做的是在接到来电时将 Activity 带到前台。我在应用程序中使用 Twilio,并在收到推送消息时开始调用。 问题是我试图在接到任何电话时显示 Act
我是一名优秀的程序员,十分优秀!