adds the port to the config, can no longer be set via a command line argument