configure the server port from a config