All free tools Tested live from VPSLake

RDP Port Checker

Check whether TCP port 3389, or the custom port your Remote Desktop uses, is open and reachable from the internet. If it is not, see the most likely cause and how to fix it.

Check an RDP port

TCP
The public IPv4 address or host name of the Windows machine or router.
3389 is the default RDP port. Change it only if your server uses a custom port.

The test runs on the VPSLake server. It makes one TCP connection to the port and closes it at once, without sending or reading any data. If nothing answers, a second test point tries once more. The address and the result are not saved, and private or internal addresses are refused.

Test an RDP port in four steps

Run it after setting up a Windows server, after a firewall or router change, or when Remote Desktop suddenly stops connecting.

  1. 1

    Enter the address

    Type the public IP address or host name of the Windows PC or server. Testing your own connection? Select Use my IP address to fill in the address you are browsing from.

  2. 2

    Set the port

    Leave 3389 for a standard Remote Desktop setup. If RDP was moved to another port, such as 3390, enter that number instead.

  3. 3

    Run the check

    Select Check Port. Our server tries one TCP connection from the internet and waits up to 4 seconds for an answer. If none comes, a second test point tries once more.

  4. 4

    Follow the next steps

    The result is open, closed or timed out, with the time it took and a short list of what to check in Windows, on the router or in the provider firewall.

What open, closed and timed out mean

The checker starts a normal TCP connection, the same first step a Remote Desktop client takes, and reports how the other side reacted.

  • Open: the connection was accepted. A program is listening on the port and the internet can reach it.
  • Closed: the address answered with a refusal. The machine is reachable, but nothing is listening on that port, or a firewall is set to reject it.
  • Timed out: no answer within 4 seconds. A firewall or router dropped the request silently, the machine is off, or the IP address is wrong.

Fix a closed or filtered RDP port

Work from the Windows machine outwards. These are the six usual causes.

  • Remote Desktop is off. In Settings, System, Remote Desktop, switch it on. The classic setting is "Allow remote connections to this computer". See how to enable RDP.
  • Windows Firewall blocks it. Enable the "Remote Desktop" rule group, or add an inbound rule for a custom port. Guides for Windows Server 2025, 2019 and 2016.
  • The router has no port forward. On a home or office line, forward TCP 3389 to the internal IP of the PC. See RDP port forwarding explained.
  • A provider firewall is in front. Cloud and VPS firewalls or security groups need their own rule that allows inbound TCP on the RDP port.
  • The RDP port was changed. Test the new port here and connect to address:port. See changing the default RDP port.
  • It is an NLA error, not a port problem. Network Level Authentication errors appear after the port has already answered. See fixing the NLA error.

Still stuck? Go through the Remote Desktop cannot connect checklist.

RDP port reference: TCP 3389 and UDP 3389

Remote Desktop Protocol listens on port 3389 by default, on both TCP and UDP. The port is registered with IANA under the service name ms-wbt-server.

PortProtocolWhat it is forNeeded?
3389TCPConnection setup, sign-in and the session itself. Works with every RDP version.Required
3389UDPOptional faster channel for screen, sound and input on Windows 8, Windows Server 2012 and later. The session falls back to TCP if it is blocked.Optional
443TCPRemote Desktop Gateway, which carries RDP inside HTTPS so port 3389 stays closed to the internet.Only with RD Gateway
3391UDPOptional UDP channel of Remote Desktop Gateway.Only with RD Gateway

So is RDP TCP or UDP? Both. TCP 3389 is the one that must be open, and a session can run on TCP alone. UDP 3389 only makes the picture smoother on slow or lossy connections. The full explanation is in What port does RDP use?

How to change the RDP port

The listening port is a registry value. On the Windows machine, in PowerShell as administrator:

  • Set the new port, for example 3390: Set-ItemProperty -Path 'HKLM:\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp' -Name PortNumber -Value 3390
  • Allow it in Windows Firewall before you disconnect: New-NetFirewallRule -DisplayName 'RDP 3390 TCP' -Direction Inbound -Action Allow -Protocol TCP -LocalPort 3390, and the same again with -Protocol UDP.
  • Restart the computer so Remote Desktop starts listening on the new port.
  • Test port 3390 with this checker, then connect to address:3390.

Update any router port forward or provider firewall rule as well, and keep console access ready in case the new port does not answer. A different port cuts down automated scans, but it is not a security measure on its own. Step by step: change the default RDP port.

Why an open port 3389 is a risk

Port 3389 is one of the most scanned ports on the internet. A Windows machine that exposes it soon receives automated sign-in attempts that guess user names and passwords around the clock. Old, unpatched Windows versions have also had flaws that could be attacked through this port before any sign-in, BlueKeep (CVE-2019-0708) being the best known.

  • Limit the firewall rule to the IP addresses you connect from.
  • Reach the machine through a VPN or an RD Gateway instead of exposing 3389.
  • Keep Network Level Authentication on, use long unique passwords and set an account lockout policy.
  • Install Windows updates promptly.

More in Is it safe to open port 3389?

Check the port from your own computer

This page tests from the internet. To test from your own Windows PC, open PowerShell and run Test-NetConnection 203.0.113.10 -Port 3389 with your server address. TcpTestSucceeded : True means the port is open from where you sit. On Linux or macOS, use nc -vz 203.0.113.10 3389.

A test that passes inside your own network but fails here points to the router, the provider firewall or the public IP address, not to Windows. See the Test-NetConnection guide.

Need a Windows RDP that is reachable from day one?

A VPSLake Windows RDP is a private server with its own dedicated public IPv4 address and full administrator access. Remote Desktop is switched on and reachable when the server is handed over, so there is no router, port forward or carrier-grade NAT to work around. Plans start at $14.99₹1,394.07 a month.

See Windows RDP plans

Need a United States address? See USA RDP. Already have a server? Make a connection file with the RDP File Generator.

Test only what you are allowed to test

Use the checker on servers and connections you own or manage. It tests one port per request with a plain TCP connection, with limits on how often it can be used, so it is not a port scanner. It tests IPv4 only and does not test UDP 3389.

RDP Port Checker FAQ

Remote Desktop Protocol uses port 3389 by default, on both TCP and UDP. TCP 3389 carries the connection and is the one that has to be open. UDP 3389 is an optional second channel on Windows 8, Windows Server 2012 and later. The port can be changed in the Windows registry, so some servers listen on a custom port such as 3390. More detail is in our guide What port does RDP use?
Both. Every RDP session starts on TCP 3389, and a session can run on TCP alone. Newer Windows versions also open a UDP 3389 channel beside it, because UDP copes better with slow or lossy connections and makes the screen feel smoother. If UDP is blocked, Remote Desktop keeps working over TCP. This checker tests the TCP port, because that is the one that decides whether you can connect at all.
An open port means the network path is fine, so the cause is on the Windows side. The usual ones are a wrong user name or password, an account that is not in the Remote Desktop Users group, an account lockout after too many failed sign-ins, or a Network Level Authentication (NLA) or CredSSP error. See fixing the NLA error and the Remote Desktop cannot connect checklist.
Closed means the address answered and refused the connection. The machine is reachable, but no program is listening on that port, which for RDP usually means Remote Desktop is switched off or was moved to another port. Timed out means nothing came back at all. That points to a firewall or router silently dropping the request, a missing port forward, a server that is powered off, or a wrong IP address.
On Windows, open PowerShell and run Test-NetConnection 203.0.113.10 -Port 3389 with your server address. TcpTestSucceeded : True means the port is open from your location. On Linux or macOS, nc -vz 203.0.113.10 3389 does the same. A test from inside your own network does not show whether the internet can reach the port, which is what this page tests. Our Test-NetConnection guide explains the output.
Yes. Type the port number in the port field, or paste the address as 203.0.113.10:3390 and the port is filled in for you. One port is tested per check. To connect to a custom port, add it after the address in the Remote Desktop client, or create a connection file with the RDP File Generator.
It works, but it is risky. Port 3389 is scanned all day, and an exposed Windows machine receives constant password-guessing attempts. If you must expose it, limit the firewall rule to your own IP addresses, keep Network Level Authentication on, use long unique passwords with an account lockout policy, and install Windows updates quickly. A VPN or an RD Gateway in front of the server is safer. Read Is it safe to open port 3389?
Those are private or loopback addresses. They only exist inside your own network, so a server on the internet has no way to reach them. Enter the public IP address of your router or server instead. The Use my IP address button fills in the public address you are browsing from. The checker also refuses carrier-grade NAT, link-local, multicast and reserved ranges, and host names that point to any of them.
No. A TCP port answers a connection attempt, so open and closed can be told apart from outside. UDP has no such handshake at the network level: a blocked port and an open port that ignores the probe look the same. Testing it properly would mean speaking the RDP protocol to the server, which this tool deliberately does not do. If TCP 3389 is open you can connect. UDP only improves performance.
The tool does not save the address, the port or the result. The test is one TCP connection that is closed at once, with no data sent or read, plus one more from a second test point when the first gets no answer. Each visitor can run 10 checks a minute and 60 an hour, one port at a time, so the tool cannot be used to scan port ranges or networks.