Guides
How to Connect to a Windows VPS with Remote Desktop (RDP)
By NileVPS Team · Published · 8 min read
اقرأ المقال بالعربيTo connect to a Windows VPS, open a Remote Desktop client, enter the server's IP address, and log in with the Administrator username and password you received when the server was created. Windows has the client built in, macOS, iPhone, iPad and Android use Microsoft's free Windows App, and Linux users can use Remmina or FreeRDP. Remote Desktop uses TCP port 3389, which must be reachable from your network.
What you need before you start
- The server's public IP address, for example
203.0.113.10. You will find it in your control panel. - The username, normally
Administratoron Windows Server. - The password set for the server. Copy it carefully; RDP passwords are case-sensitive.
- Port 3389 open in any firewall in front of the server. If you use the NileVPS cloud firewall, allow TCP 3389, ideally only from your own IP address.
If you do not have a Windows VPS yet, you can deploy one with Windows Server 2025, 2022 or another available edition and come back to this guide.
Connect from Windows
Windows 10 and 11 include the Remote Desktop Connection app.
- Press
Win + R, typemstscand press Enter. You can also search for "Remote Desktop Connection" in the Start menu. - In Computer, type the server IP address, for example
203.0.113.10. - Click Show Options if you want to save the username. Enter
Administratorin User name. - Click Connect and enter the password when asked.
- You will probably see a warning that the identity of the remote computer cannot be verified. This is normal on a new server, which uses a self-signed certificate. Check that the IP address is correct, tick the option not to ask again if you like, and click Yes.
After a few seconds you will see the Windows desktop of your VPS.
You can also start a connection from PowerShell or the Run box with the address already filled in:
mstsc /v:203.0.113.10Useful settings in Remote Desktop Connection
- Display: choose a resolution or use full screen. Lower resolutions and fewer colours help on slow connections.
- Local Resources: enable Clipboard to copy and paste text and files between your PC and the VPS. Under More, you can share local drives with the server.
- Experience: choose a lower connection speed to turn off visual effects if the session feels sluggish.
- General > Save As: save the settings as an
.rdpfile so you can connect with a double-click next time. Do not save the password on shared computers.
Connect from macOS
- Install Windows App from the Mac App Store. It is Microsoft's free client and replaced the older Microsoft Remote Desktop app.
- Open it and choose to add a PC.
- In PC name, enter the server IP address.
- Under credentials, add the user
Administratorand the password, or leave it to ask each time. - Save, then double-click the new entry to connect. Accept the certificate warning on the first connection after checking the IP.
In the PC settings you can enable clipboard sharing and redirect a local folder so it appears as a drive inside the VPS.
Connect from Linux
Two popular open-source clients are available in most distributions' package repositories.
Remmina (graphical)
Remmina is a graphical remote desktop client available on most desktops.
# Ubuntu and Debian
sudo apt update
sudo apt install remmina remmina-plugin-rdp
# Fedora
sudo dnf install remminaOpen Remmina, choose RDP as the protocol, enter the IP address, and connect. Enter Administrator and the password when prompted, and accept the certificate on first use.
FreeRDP (command line)
FreeRDP is useful if you prefer the terminal. On current distributions, version 3 installs a command called xfreerdp3; older releases use xfreerdp.
xfreerdp3 /v:203.0.113.10 /u:Administrator /dynamic-resolution +clipboardYou will be asked for the password and to confirm the server's certificate. Package names vary by distribution, so search for freerdp in your package manager.
Connect from iPhone, iPad and Android
Microsoft's Windows App is available on the App Store for iPhone and iPad, and on Google Play for Android. If your Android device cannot install it, the older Microsoft Remote Desktop app may still be listed for some devices.
- Install the app and open it.
- Tap + and add a PC.
- Enter the server IP address and, optionally, the username
Administrator. - Save and tap the entry to connect. Enter the password and accept the certificate.
On a phone, a Bluetooth keyboard and mouse make a big difference. Tablets work well for checking trading terminals or restarting programs when you are away from your computer.
If RDP is not available: use the browser console
If you cannot reach the server over RDP, for example because a firewall rule blocks it or a Windows setting was changed, you can still reach the screen through the browser console (VNC) in the NileVPS control panel. It shows the server's display as if a monitor were attached, so you can log in and fix network or firewall settings. It is meant for repairs, not daily use, because it is slower and does not support clipboard and drive sharing like RDP does.
Common RDP errors and how to fix them
"Remote Desktop can't connect to the remote computer"
This usually means the connection never reached Windows. Check, in order:
- Is the server running? Look at its status in the control panel and start it if needed. After a reboot or Windows Update, wait a few minutes.
- Is the IP address correct? Copy it again from the control panel.
- Is port 3389 allowed? Check your cloud firewall rules. If you restricted RDP to your IP and your home IP changed, update the rule.
- Is your own network blocking it? Some office, school and public Wi-Fi networks block outgoing port 3389. Try another network, such as a phone hotspot.
You can test whether the port is reachable. On Windows:
Test-NetConnection 203.0.113.10 -Port 3389If TcpTestSucceeded is True, the port is open and the issue is likely credentials or Windows settings. On macOS or Linux:
nc -vz 203.0.113.10 3389"The credentials that were used to connect did not work"
- Retype the password manually. Copy and paste sometimes adds a trailing space.
- Check the username. On Windows Server it is normally
Administrator. In some clients you may need.\Administratorto make clear it is a local account. - Check that Caps Lock is off and the keyboard layout is what you expect.
If you have lost the password, log in through the browser console and change it, or reinstall the server if it holds nothing important.
"An authentication error has occurred"
This message, sometimes with a mention of CredSSP or "the function requested is not supported", usually means the client and server disagree about security protocol versions. The most reliable fix is to install the latest updates on both your computer and the server. Use the browser console to run Windows Update on the server if you cannot connect by RDP. Avoid weakening security policies as a permanent fix.
The identity of the remote computer cannot be verified
This is a warning, not an error. Your server uses a self-signed certificate. If the IP address is the one you expect, it is safe to continue. If you see this warning unexpectedly on a server you have connected to many times, check that nothing has changed before you continue.
"The connection was denied because the user account is not authorized"
The account you are using is not allowed to log in remotely. Use the Administrator account, or add your other user to the Remote Desktop Users group from an administrator session.
The session is slow or freezes
- Lower the display resolution and colour depth.
- Turn off visual effects in the client's experience settings.
- Check the server is not out of memory or CPU in Task Manager. Trading terminals and browsers can use a lot of RAM.
- If the server is far away from you, latency will be higher. See choosing a VPS location.
Too many users are signed in
Windows Server allows two simultaneous administrative remote sessions by default. Sign out sessions you no longer need instead of just closing the window, because a closed window leaves the session running in the background. Supporting more concurrent users requires Remote Desktop Services, which has its own setup and licensing.
Keep RDP secure
Port 3389 is scanned constantly by automated bots trying common passwords. A few steps reduce the risk a lot:
- Use a long, unique password for every account.
- Restrict port 3389 in the cloud firewall to your own IP addresses where possible.
- Keep Network Level Authentication (NLA) enabled.
- Install Windows updates regularly.
- Set an account lockout policy so repeated wrong passwords are blocked.
Our VPS security guide explains each of these in more detail.
FAQ
What port does Remote Desktop use?
RDP uses TCP port 3389 by default, and newer clients can also use UDP 3389 for better performance. You must allow TCP 3389 in any firewall between you and the server.
Can I connect to a Windows VPS from a Mac?
Yes. Install Microsoft's free Windows App from the Mac App Store, add a PC with your server's IP address, and log in with your Windows username and password.
Can I copy files to my Windows VPS?
Yes. With clipboard redirection enabled you can copy and paste files into the session, and you can share a local drive or folder in your RDP client settings so it appears inside the server.
Will my programs keep running after I disconnect?
Yes, if you close the RDP window without signing out, the session stays active on the server and your programs keep running. That is how most people run trading terminals 24/7. Signing out closes all programs in that session.
Next step
If you need a Windows machine you can reach from any device, see the editions available on the Windows VPS page and compare plans on pricing. When you are ready, deploy your Windows VPS and connect with the steps above.