def METHOD_NAME(monkeypatch):
    # Point the Edge TCP proxy towards the target server
    monkeypatch.setattr(config, "EDGE_FORWARD_URL", "http://url-without-port/")
    # Start the TCP proxy
    port = get_free_tcp_port()
    with pytest.raises(ValueError):
        start_proxy(
            listen_str=f"127.0.0.1:{port}",
            asynchronous=True,
            target_address=HostAndPort(host="127.0.0.1", port=constants.DEFAULT_PORT_EDGE),
        ).stop()