mup setup/deploy - 127.0.0.1 上的 ECONNREFUSED
mup setup/deploy - ECONNREFUSED on 127.0.0.1
我正在尝试 mup deploy
Meteor 的 todos
示例到 Vagrant VM 运行 Ubuntu 14.04 LTS x64。
Meteor Up支持Windows(我在Windows 7):
You can use install and use Meteor Up from Linux, Mac and Windows.
这是我的 c:\code\todos\mup.json
:
{
"servers": [
{
"host": "127.0.0.1",
"port": 2222,
"username": "vagrant",
"password": "vagrant"
}
],
"setupMongo": true,
"setupNode": true,
"nodeVersion": "0.12.4",
"setupPhantom": true,
"enableUploadProgressBar": false,
"appName": "todos-app",
"app": "/code/todos",
"env": {
"ROOT_URL": "http://127.0.0.1",
"PORT": "3001", // The port you want to bind to on your server.
"UPSTART_UID": "vagrant" // The user you want to run meteor as.
},
"deployCheckWaitTime": 30
}
我的 Vagrant VM 已启动,PuTTYTray 已通过 vagrant:vagrant@127.0.0.7:2222 连接。然而 mup deploy
失败了:
C:\code\todos>mup deploy
Meteor Up: Production Quality Meteor Deployments
------------------------------------------------
" Checkout Kadira!
It's the best way to monitor performance of your app.
Visit: https://kadira.io/mup "
Building Started: /code/todos
? Can't build for mobile on Windows. Skipping the following platforms:
android, ios
Started TaskList: Deploy app 'todos-app' (linux)
[127.0.0.1] - Uploading bundle
events.js:85
throw er; // Unhandled 'error' event
^
Error: connect ECONNREFUSED
at exports._errnoException (util.js:746:11)
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1010:19)
mup setup
相同。而在虚拟机中 mup deploy
遇到一个 "weird error".
我应该downgrademup
吗?
降级 mup
没有帮助:
C:\code\todos>npm install -g mup@0.9.7
C:\Users\Cees.Timmerman\AppData\Roaming\npm\mup -> C:\Users\Cees.Timmerman\AppData\Roaming\npm\node_modules\mup\bin\mup
mup@0.9.7 C:\Users\Cees.Timmerman\AppData\Roaming\npm\node_modules\mup
├── colors@0.6.2
├── underscore@1.7.0
├── uuid@1.4.2
├── async@0.9.2
├── rimraf@2.4.0 (glob@4.5.3)
├── cjson@0.3.1 (jsonlint@1.6.0)
└── nodemiral@0.3.11 (debug@0.7.4, ejs@0.8.8, handlebars@1.0.12)
C:\code\todos>mup -v
Meteor Up: Production Quality Meteor Deployments
------------------------------------------------
sshpass required for password based authentication: refer http://git.io/_vHbvQ
C:\code\todos>mup deploy
Meteor Up: Production Quality Meteor Deployments
------------------------------------------------
sshpass required for password based authentication: refer http://git.io/_vHbvQ
SSHPass 不适用于 Windows。
在 this answer 的帮助下手动设置我的 Meteor 应用程序。
我正在尝试 mup deploy
Meteor 的 todos
示例到 Vagrant VM 运行 Ubuntu 14.04 LTS x64。
Meteor Up支持Windows(我在Windows 7):
You can use install and use Meteor Up from Linux, Mac and Windows.
这是我的 c:\code\todos\mup.json
:
{
"servers": [
{
"host": "127.0.0.1",
"port": 2222,
"username": "vagrant",
"password": "vagrant"
}
],
"setupMongo": true,
"setupNode": true,
"nodeVersion": "0.12.4",
"setupPhantom": true,
"enableUploadProgressBar": false,
"appName": "todos-app",
"app": "/code/todos",
"env": {
"ROOT_URL": "http://127.0.0.1",
"PORT": "3001", // The port you want to bind to on your server.
"UPSTART_UID": "vagrant" // The user you want to run meteor as.
},
"deployCheckWaitTime": 30
}
我的 Vagrant VM 已启动,PuTTYTray 已通过 vagrant:vagrant@127.0.0.7:2222 连接。然而 mup deploy
失败了:
C:\code\todos>mup deploy
Meteor Up: Production Quality Meteor Deployments
------------------------------------------------
" Checkout Kadira!
It's the best way to monitor performance of your app.
Visit: https://kadira.io/mup "
Building Started: /code/todos
? Can't build for mobile on Windows. Skipping the following platforms:
android, ios
Started TaskList: Deploy app 'todos-app' (linux)
[127.0.0.1] - Uploading bundle
events.js:85
throw er; // Unhandled 'error' event
^
Error: connect ECONNREFUSED
at exports._errnoException (util.js:746:11)
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1010:19)
mup setup
相同。而在虚拟机中 mup deploy
遇到一个 "weird error".
我应该downgrademup
吗?
降级 mup
没有帮助:
C:\code\todos>npm install -g mup@0.9.7
C:\Users\Cees.Timmerman\AppData\Roaming\npm\mup -> C:\Users\Cees.Timmerman\AppData\Roaming\npm\node_modules\mup\bin\mup
mup@0.9.7 C:\Users\Cees.Timmerman\AppData\Roaming\npm\node_modules\mup
├── colors@0.6.2
├── underscore@1.7.0
├── uuid@1.4.2
├── async@0.9.2
├── rimraf@2.4.0 (glob@4.5.3)
├── cjson@0.3.1 (jsonlint@1.6.0)
└── nodemiral@0.3.11 (debug@0.7.4, ejs@0.8.8, handlebars@1.0.12)
C:\code\todos>mup -v
Meteor Up: Production Quality Meteor Deployments
------------------------------------------------
sshpass required for password based authentication: refer http://git.io/_vHbvQ
C:\code\todos>mup deploy
Meteor Up: Production Quality Meteor Deployments
------------------------------------------------
sshpass required for password based authentication: refer http://git.io/_vHbvQ
SSHPass 不适用于 Windows。
在 this answer 的帮助下手动设置我的 Meteor 应用程序。