TroubleshootingUpdated 27 November 20268 min read

Remote Desktop will not open your VPS? Read the error, test port 3389, fix the user name or saved password, check the VPS is running, rule out your network.

In short
  • The failure sits in one of four places: the address, the user name and password, the VPS itself, or the network you connect from.
  • "Can't connect to the remote computer" and error 0x204 mean Remote Desktop on the VPS did not answer. "Your credentials did not work" means it answered, and the login was refused.
  • One command on your PC, Test-NetConnection with the VPS IP and port 3389, tells the two apart.
  • If the port does not answer, look at the VPS through the provider's console. If it is running normally, try another network: a VPN or an office network can block Remote Desktop.
  • While you cannot connect, MetaTrader keeps running on the VPS, unless the VPS itself is stopped or frozen.

When Remote Desktop will not open your VPS, the failure is in one of four places: the address you typed, the user name and password, the VPS itself (stopped, installing updates or frozen), or the network you are connecting from. The error message tells you which group you are in, and a one-line port test from your own PC separates "the VPS does not answer" from "the VPS answers but refuses the login". While you work through this, MetaTrader keeps running on the VPS, unless the VPS itself is stopped or frozen.

Four places a Remote Desktop connection fails: the address, the user name and password, the VPS itself, your own network
Check them in this order; the error message and a port test tell you which one it is.

Read the error message first

The exact wording points to the step that fixes it. The messages below are quoted from Microsoft's documentation, except error 0x204, which comes from a Microsoft Q&A thread.

MessageWhat it meansGo to
"Remote Desktop can't connect to the remote computer for one of these reasons: 1) Remote access to the server is not enabled 2) The remote computer is turned off 3) The remote computer is not available on the network"Remote Desktop on the VPS did not answer: wrong address, VPS stopped or frozen, Remote Desktop turned off on the VPS, or something on the way blocking the portSteps 1, 3 and 4
"We couldn't connect to the remote PC ... Error code: 0x204" (Microsoft's Remote Desktop app on a Mac)The same situation seen from the app. Users answering on Microsoft Q&A report a VPN blocking port 3389 and a router setting as causesSteps 1 and 4
"Your credentials did not work"The VPS answered, but Windows could not validate the user name and passwordStep 2
"This computer can't connect to the remote computer."Microsoft gives two explanations: the account you used has no right to sign in remotely (members of the Administrators group have it), or the same listener and network problems as the first messageStep 2, then Steps 3 and 4
"An authentication error has occurred. The function requested is not supported ... CredSSP encryption oracle remediation"Your PC and the VPS are on different levels of a Windows security updateStep 5
"An internal error has occurred"If the attempt hung for up to a minute and the second attempt works, Microsoft ties it to the audio settings of the remote machine. Otherwise it usually comes from the security negotiation between your PC and the VPSStep 3, then support
No message: a black window, or a login screen that never finishesWindows on the VPS may be busy or frozenStep 3

Step 1: check the address and the port

  1. Copy the IP address from the welcome email of your provider, not from memory. Type only the address: no http://, no spaces before or after.
  2. If the address in the email has a colon and a number after it (for example 203.0.113.10:3390), keep the number. Remote Desktop uses TCP port 3389 unless it is told otherwise, and Microsoft's instruction for a server on another port is to write the address as IPaddress:port.
  3. If you have more than one VPS, check that the IP belongs to the one you mean.
  4. Test whether the VPS answers on the Remote Desktop port. On a Windows PC, open PowerShell and run, with your own IP:
Test-NetConnection 203.0.113.10 -Port 3389

Read the line TcpTestSucceeded. True means the VPS is reachable and Remote Desktop is listening: the problem is the login (Step 2), the security update (Step 5) or the "internal error" row above. False means nothing answered on that port: go to Step 3 and Step 4. Lines about ping do not decide anything here, because many servers do not answer ping; only the TCP line counts. On a Mac, nc -vz 203.0.113.10 3389 in Terminal does the same check and reports whether the connection succeeded.

The Dipgate tutorial video for the normal login was recorded on a Trading VPS (Windows):

How to log in to your VPS
Video: How to log in to your VPS

Step 2: fix the user name and the password

  • User name. On a Dipgate Trading VPS it is usually Administrator. Remote Desktop Connection on Windows may offer the account you use on your own PC instead. When the password window opens with the wrong name, choose "More choices", then "Use a different account", and type Administrator.
  • Password typed or pasted wrong. A space copied at the end, a different keyboard layout or Caps Lock is enough for "Your credentials did not work". Paste the password into a text editor first to see what you are copying.
  • An old saved password. If the VPS password was changed, Remote Desktop may still send the old saved one. In Remote Desktop Connection, click "Show Options"; if credentials are saved for that address, the General tab offers to edit or delete them. Delete them, connect, and type the new password.
  • "This computer can't connect to the remote computer" after the password. Microsoft's explanation is an account without Remote Desktop sign-in rights. Sign in with the administrator account your provider gave you.

On Dipgate, the password is in the welcome email; if you cannot find it, contact support (knowledge base article). If you change the password, redo the autologin as the autostart article explains, or the platforms will not start by themselves after the next reboot; the steps are also in autostart MT4/MT5 after a VPS reboot.

Step 3: check that the VPS is running and responding

If the port test failed, look at the VPS without Remote Desktop, through the console your provider gives you (on a Dipgate Trading VPS, the "VNC Console and Backups" panel in the client area). Microsoft's own first check is the same: whether the machine is running and whether its console works.

What the console showsWhat it meansWhat to do
The VPS is stoppedNothing answers Remote DesktopStart it from the client area, wait for Windows to boot, then connect
Windows is installing updates or restartingRemote Desktop comes back when it finishesWait; then see Windows updates on a trading VPS to choose when this happens
The Windows desktop or sign-in screen, working normallyThe VPS runs; the block is in the network or in Windows' Remote Desktop settingsStep 4
A frozen screen that does not reactWindows is stuckFollow VPS stuck or unresponsive

After a stop and start, check that your terminals came back.

Step 4: rule out the network you connect from

The VPS runs normally in the console, but the port test fails. Something between you and the VPS blocks TCP port 3389.

  1. Turn off any VPN on your PC and run the port test again. A company VPN blocking port 3389 is one of the causes users report for error 0x204.
  2. Connect the PC to your phone's hotspot and run the test again. If it now succeeds, your usual network (an office, a hotel, a public Wi-Fi) blocks Remote Desktop. Use another network, ask its administrator to allow outgoing TCP 3389, or use the phone itself (see connect to a VPS from iPhone or Android).
  3. If the test fails from every network, the block is on the VPS. Through the console, check in Windows that Remote Desktop is enabled and that the Windows Firewall inbound rules "Remote Desktop - User Mode (TCP-In)" and "Remote Desktop - User Mode (UDP-In)" are enabled, as Microsoft describes. Antivirus software you installed on the VPS can also interfere.

If the port test succeeds but your app still fails, update the Remote Desktop app on your own device or try Microsoft's current app. An old client is one of the causes listed in Dipgate's stuck VPS article, together with the router and VPN on your side.

Step 5: the CredSSP error after a Windows update

The message with "CredSSP encryption oracle remediation" appears when one side has a Windows security update and the other has not, or has it but was not restarted. Microsoft's fix is to update and restart all systems: your PC, and the VPS through the console, since Remote Desktop cannot reach it. Microsoft's policy workarounds reduce security and are meant to be used only temporarily, if at all.

When Remote Desktop is not the tool to fix

  • Metatrader VPS (Linux). It is opened with Chrome Remote Desktop, in the browser or the phone app, not with Microsoft Remote Desktop. A Remote Desktop error there means the wrong tool, not a fault.
  • Metatrader In Cloud. It opens in a web browser; there is nothing to install and no Remote Desktop.
  • Your EA stopped, but you can connect. That is a terminal or broker problem: start from MT4 keeps disconnecting on a VPS.
  • You only lost the window. Closing Remote Desktop does not stop MetaTrader; signing out of Windows does. See keep MT4 running after closing Remote Desktop.

How this works on Dipgate

  • On a Trading VPS the login data arrive by email; check the spam folder if you do not see it. The user name is usually Administrator. The knowledge base has connection guides for Windows, Mac and Android; for a Mac, see also connect to a Windows VPS from a Mac.
  • The client area lets you start and stop the VPS, change its password, and open the "VNC Console and Backups" panel used in Step 3 and Step 4. Reinstalling the operating system is also there; for a connection problem, ask support before you use it.
  • If the checks above do not solve it, open a support ticket with the exact error text, the time, and the result of the port test from your PC.

FAQ

Does my EA stop trading while I cannot connect with Remote Desktop?

No, as long as the VPS is running. Remote Desktop is only the window onto the VPS; MetaTrader runs there whether you are connected or not. If the VPS is stopped or frozen, the terminals stop with it.

Which port does Remote Desktop use?

TCP port 3389 by default. If your provider gave you an address with a colon and a number after the IP, that number is the port and must be typed with the address.

I changed the VPS password and now Remote Desktop refuses me. Why?

Remote Desktop is probably still sending the old saved password. Delete the saved credentials for that address and type the new password. On a Dipgate Trading VPS, also redo the autologin, or the platforms will not start by themselves after the next reboot.

Can I connect from a network that blocks Remote Desktop?

Not through that network. Use another connection, such as your phone's hotspot or the Remote Desktop app on the phone over mobile data, or ask the network's administrator to allow outgoing TCP port 3389.

Should I reinstall the operating system if nothing works?

Not as a first step: a block on your own network or a saved wrong password stays the same after a reinstall. Open a support ticket first with the error text, the time and the result of the port test.