docs: def initialize(self, app: Flask, app_config):
          """
          Prepare the server to run and determine the port.
  
          :param app: The Flask Application.
          :param app_config: Configuration dictionary. This module uses the `debug`
          (`True`/`False`) and `http.port` attributes.
          """
          debug = app_config["debug"]
          port = app_config["http.port"]
          if debug:
              self.started_on_port = port
              app.run(host="0.0.0.0", debug=True, port=port)
          else:
              for port in range(port, port + 50):
                  self.http_server = WSGIServer(('0.0.0.0', port), app)
                  try:
                      self.http_server.start()
                  except OSError:
                      # try next port
                      continue
                  self.started_on_port = port
                  break