question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Port doesn't change according to mup.js file

See original GitHub issue

Anytime I change the port in my config file, it still deploys to port 80. Here is my config

module.exports = {
  servers: {
    one: {
      host: "107.175.239.xxx",
      username: "root",
      pem: "/Users/avi/.ssh/id_rsa.pem",
    }
  },

  meteor: {
    name: 'dashboard',
    port: 2080,
    path: '../../',
    servers: {
      one: {}
    },
    buildOptions: {
      serverOnly: true,
      cleanAfterBuild: true,
    },
    env: {
      ROOT_URL: 'http://107.175.239.xxx',
      MONGO_URL: 'mongodb://localhost:27017'
    },
    docker: {
      image: 'abernix/meteord:base',
      //image: 'kadirahq/meteord',
      //image: 'ulexus/meteor:v1.4',
    },
    // dockerImage: 'abernix/meteord:base',
    deployCheckWaitTime: 120
  },

  mongo: {
    oplog: true,
    port: 27017,
    servers: {
      one: {},
    },
  },
};

but in docker you can see that it is actually deployed on port 80

pasted_image_11_7_16__11_14_am

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
avishaancommented, Feb 17, 2017

Yes, that’s what I mentioned above as well

1reaction
avishaancommented, Feb 16, 2017

Can you share your mup file?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Meteor Up and port 80 - Stack Overflow
You can change the port on which your meteor app runs by adding "port": XXXX to the env section of the mup.js file....
Read more >
Documentation - Meteor Up
The random port does not change across deploys. It will always be the same port for an app with the same name. If...
Read more >
mup - npm
Running this locally will set up the remote server(s) you have specified in mup.js. It will take around 2-5 minutes depending on the...
Read more >
Mup.js example with SSL - deployment - Meteor forums
My mup.js file specifies that I want the app to run on port 4000. I chose this port instead of 3000 because my...
Read more >
teachxmup - npm Package Health Analysis - Snyk
A) Try increasing the value of deployCheckWaitTime field in mup.js file. ... A) Mup doesn't support ~ alias for home directory, use the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found