The error alert reads as follows:Error 0x204: We couldnt connect to the remote PC.

Whats even more confusing is that all the configs usually look fine.

Theres nothing wrong with the firewall, ports, and remote access permissions.

microsoft-remote-desktop-error-code-0x204

Lets explore what troubleshooting methods you’ve got the option to use to fix this issue.

Sometimes, the app fails to recognize the PC name.

On Windows

ensure to authorize Microsoft Remote Desktop to access your MacBook.

Remote-Desktop-Network-Level-Authentication-settings

For step-by-step instructions, go toApples Support page.

Open port 3389

verify port 3389 is open on both your Windows and Mac computers.

Additionally, ensure your router is configured to forward the remote desktop port 3389.

terminal-server-maxoutstandingconnections

On your Mac, go toNetwork Utility, selectPort Scan, and thenOnly test ports between 3389 and 3389.

Reinstall Microsoft Remote Desktop

If the issue persists, uninstall Remote Desktop and cycle your Mac.

microsoft-remote-desktop-windows-firewall-settings

open-port-windows-defender-firewall

open-port-3389-windows-firewall