Home Guide How to Fix RDP Can’t Connect to the Remote Computer (7 Proven Fixes)
GuideVPS Hosting

How to Fix RDP Can’t Connect to the Remote Computer (7 Proven Fixes)

Share
Share

Quick Summary: This remote desktop connection error usually means one of four things: RDP is not enabled on the remote PC. Port 3389 is blocked.A Windows update affected an RDP service. Your RDP login credentials are incorrect. 
Here, you will find the seven proven fixes in the correct order from basic checks to advanced registry troubleshooting. Follow each step with the instructions and screenshots to restore your Remote Desktop connection quickly. 

You see the error “Remote Desktop can’t connect to the remote computer,” and it becomes annoying, especially when you need urgent access to your work PC, server, or cloud-hosted desktop. 

This usually happens due to a few of the reasons like when the other computer is turned off or asleep, or when the computer name or IP address you entered is wrong or your internet or VPN is not working properly. 

Network problems, inactive RDP services and closed port 3389 can also prevent access. You can usually fix the issues without any advanced technical knowledge. 

Here we have given all seven proven fixes with labelled screenshots, so you can learn how to check your remote computer, verify its network, test port 3389, and solve common connection errors easily. 

What Does “Remote Desktop Can’t Connect” Actually Mean?

The error “Remote Desktop can’t connect to the remote computer” means your RDP client could not reach the remote PC or complete the login process. The problems usually come from one of these four root causes: 

  • Remote Desktop is disabled: The target PC may not allow incoming RDP connections, the Remote Desktop Services may be stopped, or a Group Policy may be blocking access. 
  • Firewall or port block: Windows Firewall, a router, VPN, or hosting firewall may be blocking RDP traffic. Remote desktop normally uses TCP port 3389, so a closed or incorrectly forwarded port can easily cause a timeout. 
  • Windows update issue: A recent update may affect your RDP listener, firewall rules, NLA, or security settings. Check if the problem started after an update. 
  • Incorrect credentials: The username, password, account permissions, or login format may be wrong, or you can try formats such as DOMAIN/username or COMPUTERNAME/username. 

If the error appears immediately, then you need to check the network and port first. If the login screen appears but authentication fails, then you can check the credentials and account permissions. 


First, Check These 30-Second Basics

Before changing Windows settings, confirm these simple points first. 

  • Is the server powered on? Make sure it is awake, connected to the network, and not shut down or stuck in sleep mode. 
  • Use the correct IP address: Enter the correct IPv4 address of the remote computer. If it is on an office or private network, connect to your VPN first, and then use its private IP address. A public IP works only if the server is set up to allow direct access from the internet. 
  • Check basic connectivity: Confirm that your internet connection is stable. You can also run ping < IP address>; remember that some servers block ping even when RDP is available. 
  • Verify the address and port: You can check for typing mistakes. If your provider uses a custom RDP port, enter it as the port. 
  • Use the correct username format: If you have a local account, then try .\username or SERVERNAME\username. For your domain account, you can use DOMAIN\username. 
  • Check the server’s network access: If it is hosted remotely, confirm that the VPS Windows or RDP plan is active and the provider has not suspended the server. 

If all of these checks pass but your RDP is still failing, then you need to test if TCP port 3389 or your provider’s custom RDP port is reachable before changing any firewall or Windows settings. 

Fix 1: Enable Remote Desktop on the Server

Remote Desktop must be enabled on the computer you want to access. If it is disabled, the server will reject every RDP connection even when the IP address and password are correct. 

Method 1: Use your settings. 

  • Sign in to your remote server directly or through your hosting provider’s console. 
  • Open Settings >> System >> Remote Desktop. 
  • Turn Remote Desktop on >> Select Confirm. 
  • Click on Select users that can remotely access this PC and add the required account if it is not an administrator. 
Enable-Remote-Desktop-on-the-Server How to Fix RDP Can’t Connect to the Remote Computer

Method 2: Use the System Properties. 

  • Press Windows + R, type sysdm.cpl, and press Enter. 
  • Open the Remote tab >> Select Allow remote connections to this computer. 
  • Keep Network Level Authentication (NLA) enabled for better security. 
  • Click Apply >> Now click on Ok. 
Use-the-System-Properties

Check the Windows edition before troubleshooting further. Windows Home cannot host incoming RDP connections, as it can only act as an RDP client. 

The remote server must run Windows Pro, Enterprise, Education, or Windows Server. 

If the setting is missing or cannot be enabled, check if the Remote Desktop Service is running and if a company Group Policy is blocking remote connections. After enabling RDP, then try connecting again with the server’s correct IP address. 

Fix 2: Allow RDP Through the Firewall

A firewall can easily block RDP even when the remote desktop is enabled. Windows normally uses TCP and UDP port 3389 for RDP traffic. Follow these steps to allow RDP through the firewall. 

Allow RDP in Windows Firewall. 

  • Press Windows + R, type firewall.cpl, and >> press Enter. 
  • Click on Allow an app or feature through Windows Defender Firewall. 
  • Select Change settings. 
  • Find Remote Desktop and enable it for the active network profile >> Private or Public. 
  • Click Ok >> Now, try the RDP connection again. 
Allow-RDP-in-Windows-Firewall

If you want to do a deeper check, then open wf.msc, select Inbound Rules >> Enable Remote Desktop – User Mode(TCP-In). 

If-you-want-to-do-a-deeper-check-then-open-wf.msc-select-Inbound-Rules

Also enable the UDP rule if your setup uses UDP transport. The rule must be enabled for the server’s active firewall profile. 

Check the Router. 

If your server is inside a home or office network, the router must forward the RDP port to the server’s local IP address. 

Now, forward TCP 3389 to the correct computer, or you can use the custom port configured by your provider. A wrong port forwarding rule or changing the local IP can still block your connection. 


Note: Do not expose RDP directly to the internet unless necessary. Prefer a VPN, private network, or provider firewall, and restrict access to trusted IP addresses. 

Fix 3: Confirm Port 3389 Is Open and Listening

Remote desktop usually listens on TCP port 3389. You can test the port from the computer you are using for the connection, and not only from the server. Follow these steps to confirm that port 3389 is open and listening. 

  • Open PowerShell on your local computer.
Run this command: Test-NetConnection – ComputerName SERVER – IP – Port 3389
  • Now, replace SERVER-IP with the server’s IP address or hostname. You can also run this command. 
Test-NetConnection – ComputerName SERVER – IP – Port 3389 – Information Level Detailed
Confirm-Port-3389-Is-Open-and-Listening

Now check the result: 

  • TcpTestSucceeded: True simply means that the port is reachable. 
  • TcpTestSucceeded: False means that the port is blocked, closed, or forwarded incorrectly, or the server is not listening. 

If you have console access to the server, then verify that something is listening on port 3389. If no listener appears, then you can check the Remote Desktop Services and firewall rules. Also confirm that the RDP port was not changed. 


Fix 4: Fix Your Credentials

If RDP reaches your login screen but rejects you, then in this case the problem may be the username format, saved password, or account permissions. 

Use the Correct Username Format (.\username or Administrator)

RDP may even reject valid credentials if Windows cannot identify which account you mean. Always enter the username based on the account type, like: 

Local account: .\username.Local administrator: .\Administrator. Computer-specific format: COMPUTERNAME\username. Domain account: DOMAIN\username. Microsoft account: Here, use the full Microsoft account email address. 

The prefix .\ tells Windows to authenticate against the remote computer’s local accounts instead of a domain. Also, use the account’s actual password, and not the Windows PIN, fingerprint, or face-login method. 

If the administrator is disabled or renamed, then you can use another enabled account that belongs to the Remote Desktop Users group. 

Clear Old Saved Credentials in Credential Manager

Windows may be automatically using an outdated password. You can change this by following these simple steps: 

  • Open Control Panel >> Go to User Accounts >> Go to Credential Manager. 
  • Select Windows Credentials>> Find the saved entry for the remote computer or RDP client. 
  • Click Remove >> Reconnect and enter the correct username and password. 
Clear-Old-Saved-Credentials-in-Credential-Manager.

Microsoft identifies Credential Manager as the place where saved RDP credentials can be edited or removed. 

Add the User to the Remote Desktop Users Group

The account must have permission to sign in through RDP: 

  • On your server, press Windows + R, type lusrmgr.msc, >> Press Enter. 
  • Open Groups >> Remote Desktop Users. 
  • Click on Add >> Enter the username, and select Check Names. 
  • Click Ok >> Click on Apply
Add-the-User-to-the-Remote-Desktop-Users-Group

Try connecting again. Replace the username with the actual account name. Also ensure that a local or domain policy has not removed the Allow log on through Remote Desktop Services permission. 

If you are using the correct username format, you can easily resolve many RDP authentication errors. Follow all these steps properly as given above, and if the login still fails, then remove your old saved credentials from Credential Manager and try again. 


Fix 5: Change Your Network From Public to Private

Windows applies different firewall rules to Public, Private, and domain networks. After an update or network change, Windows may classify a trusted server network as Public, where inbound RDP traffic is more restricted. 

Change it through settings.

  • Open Settings >> Network and Internet. 
  • Select Ethernet or WiFi >> Click the connected network. 
  • Set the network profile type to Private>> Restart the RDP connection. 

Change it with PowerShell:  

Open PowerShell as administrator and check the current profile: 

Get-NetConnectionProfile. 
Open-PowerShell-as-administrator-and-check-the-current-profile

If NetworkCategory shows Public, change it to Private by running this command. 

Get-NetConnectionProfile –InterfaceIndex YOUR_INDEX_NUMBER –NetworkCategory Private. 

Write your actual InterfaceIndex number shown on your server. For your domain-connected server, use DomainAuthenticated instead of Private. 

After changing your profile, confirm that the RDP firewall is enabled for that profile. Only choose Private when the network is trusted, such as your home, office, or private VPS network; do not use public Wi-Fi.


Fix 6: Connect by IP Address and Flush DNS

If your hostname points to an old or incorrect address, RDP may connect to the wrong computer or fail to find the server. 

Microsoft recommends trying the remote computer’s IP address when name resolution causes connection problems. 

  • Open RDP by pressing Windows + R, typing mstsc, and pressing Enter. 
  • Enter the server’s current IPv4 address instead of its hostname. 
  • If the server uses a custom RDP port, enter it as IP address: port.

If the IP address works but the hostname does not, you should clear the DNS cache by following these steps: 

  • Open Command Prompt >> Run 
ipconfig /flushdns
  • Now, reopen your RDP and try the hostname again. 
Connect-by-IP-Address-and-Flush-DNS.

The /flushdns command basically clears the outdated DNS entries from the local resolver cache. If the problem continues, verify the hostname’s current address with: 

nslookup server-name. 

It is important to confirm that you are using the current public IP address if you have cloud or VPS access because it may change after a restart or migration. 


Fix 7: The Advanced Fix — Add the RDGClientTransport Registry Key

This advanced fix helps when RDP works normally but fails through a remote desktop gateway or a network that blocks the default transport. 

The setting forces the client to use RPC over HTTP instead of the newer HTTP/ UDP transport. 

Add the Registry Value by following these steps: 

  • Close all remote sessions. 
  • Press Windows + R, type regedit, and press Enter >> Go to: 
HKEY_CURRENT_USER\Software\Microsoft\Terminal Server Client
The-Advanced-Fix-—-Add-the-RDGClientTransport-Registry-Key
  • In the right panel, right-click an empty area >> Select New > DWORD (32-bit) Value. 
  • Name it:
RDGClientTransport. 
  • Double-click it and set Value data to: 1
  • Leave Base set to Hexadecimal >> Click Ok and restart your RDP. 
n-the-right-panel-right-click-an-empty-area-

This setting applies to the current Windows user because it is stored under HKEY_CURRENT_USER. It mainly helps connections using an RD Gateway; it will not fix a disabled RDP service, a blocked port 3389, incorrect credentials, or an offline server. 

If you want to undo this change, then return to the same registry path and either set RDGClientTransport to 0 or delete the value. 

Back up the registry before editing it, because an incorrect change can easily affect Windows or your RDP behaviour. 


When It’s the Provider’s Problem, Not Yours

If you still cannot reach the server after checking RDP, the firewall port, credentials, and DNS, then the issue may be on the provider’s side. 

The server could be powered off, suspended, or incorrectly configured at the VPS or cloud-network level. 

Check your provider’s control panel for: 

  • Server power and running status. 
  • Planned address and network status. 
  • Public IP address and network status. 
  • Security group, firewall, or port-3389 rules. 
  • Billing, suspension, or account alerts. 

Note: Avoid repeatedly changing registry or firewall settings when the server itself is unavailable.
Ask your provider to verify the VM status, RDP service network route, public IP, and firewall configuration. 

If your provider console also shows the server as offline, or you cannot reach its IP and TCP port, contact support with the server ID, IP address, error message, and the time the problem started. 


Frequently Asked Questions

Why does my Remote Desktop say it can’t connect?

  1. Confirm that your server/PC is on and the IP or hostname is correct. 

Make sure RDP is enabled: Settings >> System >> Remote Desktop >> On. 

Check that the firewall, router, or cloud security group allows TCP port 3389. 

How do I know if port 3389 is blocked?

Why did RDP stop working after a Windows update?

Can I use RDP on Windows 10/11 Home?

How do I fix “your credentials did not work”?

What if none of the fixes work?


Conclusion: How to Fix RDP Can’t Connect to the Remote Computer

This remote desktop connection issue is usually caused by a disabled RDP service, a blocked firewall, or entering the credentials in the wrong format. It can also be due to DNS problems or a server-side issue. 

You can just start with the basic checks, and then you can easily verify firewall rules, port 3389, and network profile. 

Every fix that is mentioned above will help you to have a smooth RDP experience, but if none of these issues work and your server remains unreachable, then you can use your provider’s console and you can get in touch with their support team to understand the real cause. 


💡 Most Loved Article!

Share

Leave a comment

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Articles

How to Connect RDP From Android and iPhone (2026 Full Guide)

Quick Summary: You can install Microsoft’s free “Windows App” from the Google...

How Much RAM and CPU Does Your RDP Actually Need? (2026 Expert Guide)

Is your RDP actually sized right, or are you paying for idle...

RDP Use Cases: 5 Real Things People Use It For (2026)

Quick Summary: An RDP is more than a remote server. This guide...

Free RDP vs Paid RDP: Is a Free Remote Desktop Ever Worth It? (2026)

Quick Summary: Free RDP is useful for a short period of learning,...