/**
   * @throws IOException
   * @throws URISyntaxException
   * @throws Exception
   */
  private void startTransportServer() throws IOException, URISyntaxException, Exception {
    server =
        TransportFactory.bind(
            new URI("tcp://localhost:0?trace=true&wireFormat.maxInactivityDuration=1000"));
    server.setAcceptListener(this);
    server.start();

    serverPort = server.getSocketAddress().getPort();
  }