ASP.NET

Connect to a Windows VPS or server with Remote Desktop

ASP.NET · · Published 2026-09-30

A Windows VPS for an ASP.NET site is administered through Remote Desktop: you see the server's desktop, open IIS Manager and deploy as if you were sitting at it. Connecting takes a minute; keeping that door safe takes a little more thought, because RDP ports exposed to the internet are scanned constantly.

What you need from the provider

Connecting from Windows

  1. Press Win+R, type mstsc and press Enter (or search for "Remote Desktop Connection").
  2. In Computer, enter the IP address. Add :port if the provider uses a port other than 3389.
  3. Click Show Options to save the user name and, under Local Resources, choose whether to share the clipboard or local drives. Sharing a drive is handy for copying a deployment package but gives the server access to it; enable it only when needed.
  4. Click Connect, enter the password, and accept the certificate warning the first time if the fingerprint matches the one your provider shows. Most VPS use a self-signed certificate.

From the command line: mstsc /v:203.0.113.10:3389.

From macOS, Linux, iOS and Android

Microsoft publishes Remote Desktop clients for macOS, iOS and Android (the app is distributed as "Windows App" in recent versions). On Linux, FreeRDP (xfreerdp /v:203.0.113.10 /u:Administrator) and Remmina are common choices.

When the connection fails

SymptomCheck
"Remote Desktop can't connect to the remote computer"Server running? Port open in the provider's firewall and in Windows Firewall ("Remote Desktop" rules)? Correct port?
Credentials rejectedUser name format (.\Administrator for a local account), keyboard layout, account locked after failed attempts.
"An authentication error has occurred… CredSSP"Client and server patch levels differ; update both rather than lowering security settings.
Connected but black screenWait, or disconnect and reconnect; a pending update may be installing.

Securing RDP

Once connected, you deploy the site as described in Parser Error when deploying, and choose a plan with the help of Choosing hosting for an ASP.NET website.

Official documentation