Added an optional default port to the config