startServer() finds port to listen from config.