public String getConnectUrl() {
    val listenerInfo = undertow.getListenerInfo().iterator().next();

    val address = (InetSocketAddress) listenerInfo.getAddress();

    return String.format(
        "%s://%s:%d", listenerInfo.getProtcol(), address.getHostString(), address.getPort());
  }
Returns server connect URL.

@return listining server's url.
form/src/test/java/feign/form/utils/UndertowServer.java