Ubuntu 14.04 で標準の Amazon Micro インスタンスをセットアップし、sudo ユーザーを設定し、基本的に Meteor Up の手順に従いました。「展開プロセスの呼び出し」段階でこのエラーが発生します...
-----------------------------------STDERR-----------------------------------
Warning: Permanently added 'ec2-54-200-136-28.us-west-2.compute.amazonaws.com,54.200.136.28' (ECDSA) to the list of known hosts.
npm http GET https://registry.npmjs.org/fibers
npm http 304 https://registry.npmjs.org/fibers
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (7) Failed to connect to localhost port 80: Connection refused
Latest deployment failed! Reverted back to the previous version.
-----------------------------------STDOUT-----------------------------------
> fibers@1.0.1 install /opt/meteor/tmp/bundle/programs/server/node_modules/fibers
> node ./build.js
私は何か間違ったことをしていますか?Amazon EC2 設定でポート 80 を開きました。mup.json ファイルは次のようになります。
{
// Server authentication info
"servers": [
{
"host": "[amazon_IP]",
"username": "ubuntu",
"password": "password"
// or pem file (ssh based authentication)
//"pem": "~/.ssh/id_rsa"
}
],
// Install MongoDB in the server, does not destroy local MongoDB on future setup
"setupMongo": true,
// WARNING: Node.js is required! Only skip if you already have Node.js installed on server.
"setupNode": true,
// WARNING: If nodeVersion omitted will setup 0.10.25 by default. Do not use v, only version number.
"nodeVersion": "0.10.25",
// Install PhantomJS in the server
"setupPhantom": true,
// Application name (No spaces)
"appName": "meteor",
// Location of app (local directory)
"app": "/home/meteor_apps/thestory",
// Configure environment
"env": {
"PORT": 80,
"ROOT_URL": "http://54.200.136.28"
},
// Meteor Up checks if the app comes online just after the deployment
// before mup checks that, it will wait for no. of seconds configured below
"deployCheckWaitTime": 15
}
ROOT_URL を Amazon パブリック IP に設定しただけです... Meteor が ROOT_URL 環境変数を使用する場所がよくわかりません