Amazon EC2 with mup

I am trying to deploy my app to an Amazon EC2 instance using mup.

my mup config file:

  "servers": [
      "host": "",
      "username": "ubuntu",
  "setupMongo": true,
  "setupNode": true,
  "nodeVersion": "0.10.40",
  "setupPhantom": true,

  "enableUploadProgressBar": true,
  "env": {
    "PORT": 80,
    "ROOT_URL": ""
  "appName": "myApp",
  "app": ".",
  "deployCheckWaitTime": 400

I am using a micro instance, so I increased deployCheckWaitTime.

I opend the following ports on my instance:

In my project folder I did:

mup init
mup deploy

[] - Uploading bundle: SUCCESS [] - Setting up Environment Variables [] - Setting up Environment Variables: SUCCESS [] - Invoking deployment process

But then I get the error:
0curl: (7) Failed to connect to localhost port 80: Connection refused

ssh’ing into my instance using the .pem file works just fine.

What am I missing?
Any ideas?

ROOT_URL should include a URL scheme - so something like:

tried it.
no luck :confused:

Do you have a public domain name setup? Make sure you’re using that value instead for ROOT_URL.

Nope. I believe the ROOT_URL is correct.

use the public IP instead of the domain name. if you have a free tier it should be available in the overview page where you can see your running instance listed.

I don’t understand.
You mean setting the server ip to be the root url?

  "env": {
    "PORT": 80,
    "ROOT_URL": ""