Expose external ports to application configuration.

Fixes #200.
We should be respecting the "private" convention.