code: def run(app=None, server=WSGIRefServer, host='127.0.0.1', port=8080,
          interval=1, reloader=False, **kargs):
      
      app = app if app else default_app()
      quiet = bool(kargs.get('quiet', False))
      # Instantiate server, if it is a class instead of an instance
      if isinstance(server, type):
          server = server(host=host, port=port, **kargs)
      if not isinstance(server, ServerAdapter):
          raise RuntimeError("Server must be a subclass of WSGIAdapter")
      if not quiet and isinstance(server, ServerAdapter): # pragma: no cover
          if not reloader or os.environ.get('BOTTLE_CHILD') == 'true':
              print("Bottle server starting up (using %s)..." % repr(server))
              print("Listening on http://%s:%d/" % (server.host, server.port))
              print("Use Ctrl-C to quit.")
              print()
          else:
              print("Bottle auto reloader starting up...")
      try:
          if reloader and interval:
              reloader_run(server, app, interval)
          else:
              server.run(app)
      except KeyboardInterrupt:
          if not quiet: # pragma: no cover
              print("Shutting Down...")
docs: Runs bottle as a web server.