If remote desktop can’t connect to the remote computer, do not start by changing random settings: walk the path from the server address to its listener, firewall, account, and client. This checklist gives you a test at each point, so you can tell whether the failure is on the server, in the network, or on your device.
Read the exact error first
Why: the wording tells you how far the connection got and prevents you from troubleshooting the wrong layer.
Write down the complete message before you retry. A timeout or “can’t connect” message usually means the client has not reached a usable RDP endpoint. A username or account-locked message means the server responded, so move to the account step instead.
Microsoft’s Remote Desktop troubleshooting procedure groups the investigation into machine state, the RDP-TCP listener, network configuration, and Windows configuration. That is the order used below.
For error 0x204, use this site’s guide to fix Remote Desktop connection error 0x204 after checking the basic path.
Step 1: Confirm the server and IP address
Why: a powered-off server, stale address, or private IP cannot accept an Internet RDP connection, no matter how good the password is.
- Open the hosting client area and confirm the server is running.
- Copy the current public IPv4 address. Do not rely on an old
.rdpfile or a saved address from before a reinstall. - For the default port, enter only the IP address in the Remote Desktop client. For a custom port, enter
IP-address:port, such as203.0.113.20:3390. - If you use a hostname, compare its address with the current public IP.
On Windows, check name resolution with:
Resolve-DnsName rdp.example.com
Success looks like the hostname resolving to the server’s current public address and the client using that same address. If the IP is correct but the hostname is not, fix DNS or connect with the IP while you investigate.
Step 2: Check basic reachability without trusting ping
Why: ping and RDP use different protocols, so a failed ping does not prove that the RDP port is unavailable.
Run this from the computer that cannot connect:
Test-Connection -ComputerName <server-ip> -Count 4
If replies return, the host answered ICMP. If they do not, continue anyway: many servers and firewalls block ICMP while allowing TCP. The useful RDP test is the port test in the next step.
You can also test from a phone hotspot. If it works there but not on your normal network, inspect that network’s VPN, proxy, DNS filter, or outbound firewall.
Step 3: Test the RDP port with Test-NetConnection
Why: this tells you whether the client can complete a TCP connection to the address and port before you spend time on credentials.
In PowerShell, run:
Test-NetConnection -ComputerName <server-ip> -Port 3389 -InformationLevel Detailed
Replace 3389 with the custom RDP port if the server uses one. Microsoft documents Test-NetConnection as a built-in TCP diagnostic; the key result here is TcpTestSucceeded.
| Result | Meaning | Next check |
|---|---|---|
TcpTestSucceeded : True | This client reached something listening on that TCP port. | Check the RDP profile, account, NLA, and client. |
TcpTestSucceeded : False | The TCP connection did not complete from this network. | Check the server listener, Windows Firewall, address, port, and network path. |
| IP test succeeds but hostname test fails | The service is reachable but name resolution is wrong or stale. | Correct DNS or use the current IP. |
| Ping fails but TCP succeeds | ICMP is filtered while the RDP port is reachable. | Continue with the RDP login; ping is not required. |
For a simple Boolean result, use:
Test-NetConnection -ComputerName <server-ip> -Port 3389 -InformationLevel Quiet
Success is True. If it is False, do not keep changing the password: stay on the network, listener, and firewall checks.
Step 4: Verify Remote Desktop Services and the listener
Why: an online Windows machine can still reject RDP when TermService is stopped, Remote Desktop is disabled, or no process is listening on the expected port.
Use a browser console, hypervisor console, or another authorized management path to run these commands on the Windows server:
Get-Service -Name TermService
Get-NetTCPConnection -LocalPort 3389 -State Listen
qwinsta
For a custom port, replace 3389 in the second command. A working server should show TermService with Status set to Running, a listening TCP entry for the selected port, and an RDP listener in the qwinsta output.
If Remote Desktop was disabled or the service was stopped, an administrator can repair the basic settings:
Set-ItemProperty -Path 'HKLM:\SYSTEM\CurrentControlSet\Control\Terminal Server' -Name fDenyTSConnections -Value 0
Set-Service -Name TermService -StartupType Automatic
Start-Service -Name TermService
Run these only on a machine you own or administer. Success is a running service and local listener; then repeat the external test.
Step 5: Check the configured port and Windows Firewall
Why: the client, listener, and firewall must all use the same port; changing only one of them creates a predictable connection failure.
Read the configured RDP port on the server:
Get-ItemProperty `
-Path 'HKLM:\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp' `
-Name PortNumber
The normal value is 3389. If the value is different, connect with server-ip:port and confirm that the matching inbound firewall rule exists. Do not assume that a custom port is open simply because the registry value changed.
Inspect the built-in Remote Desktop rules without disabling the whole firewall:
Get-NetFirewallRule -DisplayGroup 'Remote Desktop' |
Select-Object DisplayName, Enabled, Profile, Direction, Action
If the rules were disabled, an administrator can enable the Remote Desktop group:
Get-NetFirewallRule -DisplayGroup 'Remote Desktop' |
Set-NetFirewallRule -Enabled True
Success is a listening service, an enabled rule for the active profile, and TcpTestSucceeded : True. Microsoft’s RDP listening-port documentation covers the extra rule for a non-default port.
Step 6: Use the server console when RDP is unavailable
Why: out-of-band access lets you repair the service, port, or firewall without needing the broken RDP session.
For a VPSLake Windows server, sign in to the VPSLake client area and open the browser console for the server. Run the checks from Steps 4 and 5, then confirm the public IP shown in the client area matches the address in your RDP profile.
If the console opens but the external port test remains false, the remaining fault is usually the RDP configuration or network path. If the console itself does not open, include that fact when contacting support.
Step 7: Check the account only after the port works
Why: credentials cannot be validated until the RDP service answers, so account changes are wasted effort when TcpTestSucceeded is false.
If the port test succeeds and you reach a sign-in prompt, check the username and account state:
Get-LocalUser -Name '<username>' |
Select-Object Name, Enabled, PasswordRequired, LastLogon
Get-LocalGroupMember -Group 'Remote Desktop Users'
An administrator account needs its correct local or domain format. A standard local user must be allowed through the Remote Desktop Users group or an equivalent policy. Also check for a recent password change, an expired password, or a locked account.
Success is a valid account that is enabled, has permission to use Remote Desktop, and accepts the current password. If the error appears before the sign-in prompt, return to the port and listener steps instead.
Step 8: Rebuild the client connection profile
Why: saved credentials, an old hostname, a wrong custom port, or a damaged profile can make one client fail even when the server is healthy.
- Remove the saved PC entry from the Remote Desktop client.
- Create a new entry with the current public IP and, when needed,
IP:port. - Do not reuse saved credentials until the new connection reaches the sign-in prompt.
- Temporarily disable a VPN or proxy on the client, then test once.
- If the server works from another device, update or reinstall the failing Remote Desktop client.
You can use VPSLake’s RDP file generator to create a fresh profile after you have verified the address and port.

Success is a new profile that reaches the sign-in prompt. If only one device fails, the server is less likely to be the problem.
Step 9: Compare networks and clients
Why: testing from a second path separates a server-side failure from a local network restriction.
Try the same address and port from two combinations: your normal network and a phone hotspot, or your usual device and another computer. Record the result instead of making several changes at once.
| Test pattern | Likely area to investigate |
|---|---|
| Every client and network fails | Server state, listener, firewall, address, or port. |
| Every client fails on one network only | VPN, proxy, DNS filtering, or outbound firewall on that network. |
| One client fails while another works | Saved profile, client version, local security software, or credentials. |
| Port test succeeds but login fails | Username, password, account permission, NLA, or policy. |
If the connection is accepted but the session is slow, use the guide to fix a slow or laggy Remote Desktop session. Performance needs different checks from a port that never opens.
Step 10: Send support the useful evidence
Why: precise evidence lets support investigate the failing layer instead of asking you to repeat generic connection attempts.
Before opening a ticket, collect:
- The exact error text and the time it occurred.
- The public IP or hostname, plus the port you tested.
- The output of
Test-NetConnectionwith the server address and port. - Whether the browser console opens and
TermServiceis running. - Whether the same connection works from another client or network.
- Any recent change, such as a reinstall, IP change, firewall edit, password change, or custom port.
Do not send a password, private key, or full credential file. Support can work from the address, port, error, and test results. VPSLake support is available through tickets, WhatsApp, and Telegram seven days a week.
Verify the fix
Run the final test from the device that originally failed:
Test-NetConnection -ComputerName <server-ip> -Port <rdp-port> -InformationLevel Detailed
Confirm that RemoteAddress is the intended server and TcpTestSucceeded is True. Then connect with a new profile and verify the sign-in prompt. Keep a note of the working IP, port, and username format.
FAQ
Why does Remote Desktop say it cannot connect to the remote computer?
The message is broad and can mean that the server is offline, the IP or port is wrong, Remote Desktop is disabled, the listener is stopped, or a firewall blocks the path. Test the address and TCP port before changing credentials.
How do I test whether RDP port 3389 is reachable?
Run Test-NetConnection -ComputerName <server-ip> -Port 3389 in PowerShell. TcpTestSucceeded : True means that the TCP path from that client reached the target port; it does not by itself prove that login credentials are valid.
Does a failed ping mean the RDP server is down?
No. ICMP ping and TCP RDP use different protocols and can be filtered separately. Use Test-NetConnection for the RDP port and use the server console to check whether the service is running.
What if RDP works with the IP but not the hostname?
The server is probably reachable, but DNS is resolving the hostname to the wrong or an old address. Run Resolve-DnsName, compare the answer with the current public IP, and use the correct address while DNS updates.
Can I fix RDP without an existing RDP session?
Yes. Use an authorized browser, hypervisor, or management console to check TermService, the listening port, the Remote Desktop firewall rules, and the configured port. Then rerun the external TCP test before trying the client again.
DONE remote-desktop-cant-connect-checklist words=1763