I don't know if just changing the port is going to do the whole trick for. After changing in application.js the appPort to process.env.PORT and doing mojito start I get the following:
%u2714 Mojito(v0.5.2) started 'admin' on http://127.0.0.1:process.env.PORT/
Which 127.0.0.1 is not a option for C9. Maybe setting up for C9 to Run whatever the start script is may work.
Michael, you can't set appPort to a string with process.env.PORT. Usually, what you have to do is to change server.js (at the top level in your app folder), and replace:
module.exports = app.listen();
and that should get you running.
in Yahoo! Mojito