Parameterize port

Change default config so that the port can be overridden.