mup 设置:错误:等待握手时超时

2024-04-01

这里的问题是当我尝试运行命令 mup setup 时 有错误,我哪里出错了

Started TaskList: Setup Docker
[54.186.xx.xxx] - Setup Docker
events.js:183
throw er; // Unhandled 'error' event

我的 mup.js 文件如下所示

module.exports = {
  servers: {
    one: {
      host: '54.186.xx.xxx',
      username: 'ubuntu',
      pem: '~/.ssh/mypem.pem'
    }
  },
  app: {
    name: 'myapp',
    path: '/var/www/meteor/myapp',
    servers: {
      one: {},
    },
    buildOptions: {
      serverOnly: true,
    },
    env: {
      ROOT_URL: 'http://ec2-54-186-xx-xxx.us-west-2.compute.amazonaws.com',
      MONGO_URL: 'mongodb://127.0.0.1:27017/myapp',
      PORT: 3027,
    },
    docker: {
      image: 'abernix/meteord:node-8.4.0-base',
    },
    deployCheckWaitTime: 60,
    enableUploadProgressBar: true
  },
  mongo: {
    oplog: true,
    port: 27017,
    version: '3.4.1',
    servers: {
      one: {}
    }
  }
};

Meteor version is 1.6. enter image description here Thanks in advance!


你的看起来没什么问题mup.js file.

问题可能是您无法使用当前的 IP 地址进行 SSH。例如,如果您使用 AWS,请确保在安全组中您当前的 IP 地址可以访问它。

本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)

mup 设置:错误:等待握手时超时 的相关文章

随机推荐