Port 3389
Port 3389 Remote Desktop
Windows Remote Desktop listens on port 3389. Password guessing against it never stops, and it remains a common way into a network.
What is port 3389 used for?
Port 3389 is the default port of RDP (Remote Desktop Protocol), which lets a user control a Windows machine over the network. Remote Desktop Services and many Windows cloud servers listen on it, on TCP and on UDP.
Why attackers want it
A weak password on an exposed RDP server is enough for a full session on the machine. Attackers guess passwords around the clock, sell working logins, and exploit unpatched flaws such as BlueKeep (CVE-2019-0708) in older Windows versions.
Who scans port 3389
Every address that scanned port 3389 from 28 October to 27 November 2026, with known scanners left out.
- AS14061DigitalOcean, LLC 5.078
- AS8075Microsoft Corporation 1.128
- AS14618Amazon.com, Inc. 1.055
- AS4837CHINA UNICOM China169 Backbone 1.036
- AS4134Chinanet 1.028
- AS45102Alibaba (US) Technology Co., Ltd. 514
- AS135377UCLOUD INFORMATION TECHNOLOGY (HK) LIMITED 480
- AS396982Google LLC 399
- AS43515Google Ireland Limited 384
- AS37963Hangzhou Alibaba Advertising Co.,Ltd. 309
- United States of America 8.529
- People's Republic of China 3.302
- Germany 1.174
- United Kingdom 970
- Hong Kong 884
- Netherlands 752
- Singapore 647
- India 602
- Brazil 425
- Belgium 393
Should port 3389 be open?
Port 3389 should not be open to the internet. Put Remote Desktop behind a VPN or a Remote Desktop Gateway with multi factor sign in. Moving it to another port does not help: scanners try every port.
Put it behind a gateway
Publish Remote Desktop through a VPN or a Remote Desktop Gateway, and close TCP and UDP 3389 at the edge.
Harden the sign in
Require Network Level Authentication, add multi factor sign in, and lock accounts after repeated failed attempts.
Keep Windows patched
Install security updates, and retire Windows versions that no longer receive them.
Port 3389 questions
What is port 3389 used for?
Port 3389 is the default port of RDP, Windows Remote Desktop. It lets a user see and control a Windows desktop over the network, on TCP and on UDP.
Is it safe to open port 3389?
No. An exposed RDP port receives password guessing from the moment it is reachable, and a single weak account gives a full session. Use a VPN or a Remote Desktop Gateway with multi factor sign in instead.
Does changing the RDP port stop attacks?
Only for a short while. Scanners probe every port and recognise RDP wherever it answers. A gateway, multi factor sign in and blocking known attackers protect it, a different port does not.
How do I block port 3389?
Drop inbound TCP and UDP 3389 on your firewall or cloud security group, and allow Remote Desktop only through your VPN or gateway. An IP blocklist of active scanners stops the sources that look for it.
Block the sources that scan port 3389.
An hourly IP feed of active scanners keeps them away from this port and everything else you run.