async def METHOD_NAME(self, port: int):
    """
    Finalizes the initialization of the RPC server and allows it to begin
    accepting queries.
    """
    try:
        # This ensures self._started can't be assigned
        # except with both other functions
        # and isn't subject to a really really stupid but complex
        # issue on windows with catching specific
        # exceptions related to shutdown conditions in asyncio applications.
        self._started, _discard, self._site = (
            True,
            await self._runner.setup(),
            web.TCPSite(self._runner, host="127.0.0.1", port=port, shutdown_timeout=0),
        )
    except Exception as exc:
        log.exception("RPC setup failure", exc_info=exc)
        sys.exit(ExitCodes.CRITICAL)
    else:
        await self._site.start()
        log.debug("Created RPC server listener on port %s", port)