Howto change robot-server's default port

Is there a simple way to change the default port that robot-server runs on?

I'm working on a project and would like to use c9.io for development. The only drawback I've found so far is that c9 only opens ports 8080, 8081 and 8082.

I'm looking to rework the project such that it only uses ports 8080, 8081 and 8082.

The bin/robot-server command runs things on port 55001 by default, I'm yet to find a convenient way to "rewire" it so that I can use bin/robot-server on port 8082. So far I haven't found an obvious way and it doesn't seem to be documented.

I think you can set environment variables ZSERVER_HOST and ZSERVER_PORT to customize what it binds to.

@vangheem,
That did the trick, I managed to figure out the ZSERVER_PORT part
But the ZSERVER_HOST was necessary too:

ZSERVER_HOST=0.0.0.0 ZSERVER_PORT=8082 bin/robot-server package.profile.testing.PACKAGE_PROFILE_ROBOT_TESTING