RDP "console session in progress" error when connecting via loopback IPs

Mohit Kumar 20 Reputation points
2025-09-11T16:57:22.4166667+00:00

I’m encountering an issue with the Remote Desktop Connection app on Windows 11 and Windows Server 2025.

When attempting to connect to RDP through any IP that resolves to the loopback adapter (e.g., 127.0.0.1 or other loopback routes using the default RDP port), the client fails with the error:


Your computer could not connect to another console session on the remote computer because you already have a console session in progress.

On localhost:3389, I create a local TCP proxy to my actual RDP instance. For certain purposes, I need to use local resources for this, either through the loopback address, a local IP bound to an interface such as Ethernet, or another interface with its own assigned IP.

Observations

  • On Windows Server 2022, the error does not occur under the same conditions. I can successfully connect via RDP.
  • The issue only arises when using the default RDP port (3389) with an address that routes through the loopback interface (e.g., Software Loopback Interface 1) (i.e. 127.0.0.1, ::1, etc).
    • If I bind an IP (i.e., 100.x.x.x, lan_ip) to the Ethernet Adapter, this also gives the same error because it also routes through Loopback Adapter.
  • A Wireshark trace shows that no packet is actually transmitted; the Remote Desktop client seems to detect that the connection would traverse the loopback interface and immediately emits the error instead.
  • I tested this on 3 machines; nearly all exhibited the issue. However, one machine with the same Windows 11 version and the same Remote Desktop Client version worked without any problems.
  • The error is emitted irrespective of whether the Remote Desktop service is active.

Why does this happen on Windows 11, and is there any known workaround to allow RDP over loopback addresses? If Remote Desktop Connection has introduced this as a security check, is there a way to bypass or override it, for example, by using a bridged interface, Docker, a hypervisor, WSL2, etc.?

image

Windows for business | Windows Client for IT Pros | User experience | Remote desktop services and terminal services
0 comments No comments
{count} votes

Answer accepted by question author
  1. Quinnie Quoc 7,475 Reputation points Independent Advisor
    2025-09-15T09:13:53.5166667+00:00

    Dear Mohit Kumar,

    This behavior appears to be a security-related change that prevents RDP connections routed through the loopback adapter (e.g., 127.0.0.1 or ::1) on port 3389, even when using a local TCP proxy. Unlike Windows Server 2022, newer versions may detect loopback routing and block the session preemptively, as confirmed by the absence of network traffic in your Wireshark trace.

    Currently, there is no supported override for this restriction. As a workaround, you may consider using a bridged network interface, containerized environments (e.g., Docker or WSL2), or alternate ports to avoid triggering the loopback detection. We recommend monitoring the Microsoft Q&A thread on this issue for updates and community-driven solutions.

    We appreciate your feedback and are actively reviewing this behavior for future compatibility improvements.

    If my answer is useful for you, please vote for it.

    Best regards,

    Quinnie Quoc.

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.