{"id":3925,"date":"2023-06-26T12:23:36","date_gmt":"2023-06-26T09:23:36","guid":{"rendered":"https:\/\/itexpert.top\/port-range-that-can-be-used-for-rdp-on-windows-server-2016-2019.html"},"modified":"2026-04-07T13:56:28","modified_gmt":"2026-04-07T10:56:28","slug":"port-range-that-can-be-used-for-rdp-on-windows-server-2016-2019","status":"publish","type":"post","link":"https:\/\/itexpert.top\/en\/port-range-that-can-be-used-for-rdp-on-windows-server-2016-2019.html","title":{"rendered":"Port range that can be used for RDP on Windows Server 2016\/2019"},"content":{"rendered":"<h2 style=\"text-align:center;\">RDP Port Range in Windows Server 2016\/2019 \u2014 Which Port to Use and How to Configure It<\/h2>\n<p><b>Short description:<\/b> in this article, we will explore the RDP port range in Windows Server 2016\/2019, how to change the default port, which ports are safe to use, and how to properly configure remote access.<\/p>\n<h3>What is it<\/h3>\n<p><b>RDP (Remote Desktop Protocol)<\/b> is a technology that allows you to remotely connect to a Windows server or computer over a network. It is widely used by system administrators, businesses, and IT professionals to manage servers and perform remote work.<\/p>\n<p>Every RDP connection uses a network port. By default, Windows Server 2016\/2019 uses port <b>3389<\/b>. This is the port through which remote connections are established.<\/p>\n<p>A port is a logical number (from 0 to 65535) used for communication between devices. If the port is open and correctly configured, a connection can be successfully established.<\/p>\n<h3>When it is needed and where it is used<\/h3>\n<p>Understanding the RDP port range is essential in various scenarios, especially for system administration and security.<\/p>\n<ul>\n<li>when configuring remote access to a server<\/li>\n<li>if port 3389 is blocked by the provider<\/li>\n<li>to improve server security<\/li>\n<li>when running multiple servers on one IP<\/li>\n<li>to prevent brute-force attacks<\/li>\n<li>when working with VPS or cloud servers<\/li>\n<li>to restrict access to RDP<\/li>\n<\/ul>\n<p>The default port 3389 is frequently scanned by bots, making it a common target for attacks.<\/p>\n<h3>Main reasons and capabilities<\/h3>\n<p>In Windows Server 2016\/2019, you can use almost any port within the following range:<\/p>\n<ul>\n<li><b>1024\u201365535<\/b> \u2014 dynamic (user) ports<\/li>\n<\/ul>\n<p>Why this range is recommended:<\/p>\n<ul>\n<li>ports below 1024 are reserved by the system<\/li>\n<li>lower chance of conflicts<\/li>\n<li>better security<\/li>\n<\/ul>\n<p>Main advantages of changing the port:<\/p>\n<ul>\n<li>reduces attack attempts<\/li>\n<li>improves flexibility<\/li>\n<li>allows multiple RDP services<\/li>\n<li>better firewall control<\/li>\n<\/ul>\n<p>Recommended ports include:<\/p>\n<ul>\n<li>2000\u201365000 range<\/li>\n<li>unused ports<\/li>\n<li>custom ports like 3390, 50000, 55000<\/li>\n<\/ul>\n<h3>Step-by-step instructions<\/h3>\n<ol>\n<li>Open Registry Editor (Win + R \u2192 regedit)<\/li>\n<li>Navigate to:<br \/>\nHKEY_LOCAL_MACHINE\\System\\CurrentControlSet\\Control\\Terminal Server\\WinStations\\RDP-Tcp<\/li>\n<li>Find the <b>PortNumber<\/b> parameter<\/li>\n<li>Change the value to your desired port (decimal format)<\/li>\n<li>Save changes<\/li>\n<li>Open Windows Firewall<\/li>\n<li>Create a new inbound rule<\/li>\n<li>Specify the new TCP port<\/li>\n<li>Allow the connection<\/li>\n<li>Restart the server<\/li>\n<\/ol>\n<h3>Connection setup<\/h3>\n<p>After changing the port, connect using:<\/p>\n<p><b>IP:port<\/b><\/p>\n<p>Example:<\/p>\n<p><b>192.168.1.100:3390<\/b><\/p>\n<h3>Additional security settings<\/h3>\n<ul>\n<li>use strong passwords<\/li>\n<li>restrict access by IP<\/li>\n<li>use a VPN<\/li>\n<li>enable Network Level Authentication (NLA)<\/li>\n<li>enable two-factor authentication<\/li>\n<\/ul>\n<h3>Common mistakes<\/h3>\n<ul>\n<li>port not opened in firewall<\/li>\n<li>incorrect registry value<\/li>\n<li>port conflicts with other services<\/li>\n<li>wrong connection format<\/li>\n<li>server not restarted<\/li>\n<\/ul>\n<h3>Frequently asked questions<\/h3>\n<h3>Can I use any port?<\/h3>\n<p>Yes, within the 1024\u201365535 range.<\/p>\n<h3>Is changing the port safe?<\/h3>\n<p>Yes, it improves security.<\/p>\n<h3>Does it affect performance?<\/h3>\n<p>No, port number does not impact performance.<\/p>\n<h3>Does it work on laptops?<\/h3>\n<p>Yes, if the system supports it.<\/p>\n<h3>Do I need to restart the server?<\/h3>\n<p>Yes, it is required.<\/p>\n<h3>How to check if it works?<\/h3>\n<p>Try connecting using the new port.<\/p>\n<h2>Conclusion<\/h2>\n<p>The RDP port range in Windows Server 2016\/2019 allows flexible configuration and improved security. Using a non-standard port significantly reduces attack risks and improves control over remote access.<\/p>\n<hr>\n<h3>Read also<\/h3>\n<p>\n<a href=\"https:\/\/itexpert.top\/en\/windows\">WINDOWS<\/a><br \/>\n<a href=\"https:\/\/itexpert.top\/en\/it-blog\/upgrade\">Upgrade<\/a><br \/>\n<a href=\"https:\/\/itexpert.top\/en\/it-blog\/internet-network\">Internet network<\/a><br \/>\n<a href=\"https:\/\/itexpert.top\/en\/it-blog\/internet-security\">Internet safety<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>RDP Port Range in Windows Server 2016\/2019 \u2014 Which Port to Use and How to Configure It Short description: in this article, we will explore the RDP port range in Windows Server 2016\/2019, how to change the default port, which &hellip; <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"elementor_header_footer","format":"standard","meta":{"slim_seo":{"title":"What ports can be used for RDP on Windows Server 2016\/2019?","description":"The port range for RDP on Windows Server 2016\/2019 typically includes ports 1024 to 65535."},"footnotes":""},"categories":[81],"tags":[],"class_list":["post-3925","post","type-post","status-publish","format-standard","hentry","category-windows-server-2016-2019-en"],"_links":{"self":[{"href":"https:\/\/itexpert.top\/en\/wp-json\/wp\/v2\/posts\/3925","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/itexpert.top\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/itexpert.top\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/itexpert.top\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/itexpert.top\/en\/wp-json\/wp\/v2\/comments?post=3925"}],"version-history":[{"count":3,"href":"https:\/\/itexpert.top\/en\/wp-json\/wp\/v2\/posts\/3925\/revisions"}],"predecessor-version":[{"id":14013,"href":"https:\/\/itexpert.top\/en\/wp-json\/wp\/v2\/posts\/3925\/revisions\/14013"}],"wp:attachment":[{"href":"https:\/\/itexpert.top\/en\/wp-json\/wp\/v2\/media?parent=3925"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/itexpert.top\/en\/wp-json\/wp\/v2\/categories?post=3925"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/itexpert.top\/en\/wp-json\/wp\/v2\/tags?post=3925"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}