Expose external ports to application configuration.

Fixes #200.
No. We can change the default when implement it.