{"id":498,"date":"2024-05-05T10:44:16","date_gmt":"2024-05-05T10:44:16","guid":{"rendered":"https:\/\/vpswebhostingindia.in\/blog\/?p=498"},"modified":"2024-05-05T10:44:20","modified_gmt":"2024-05-05T10:44:20","slug":"change-rdp-port-for-a-windows-server","status":"publish","type":"post","link":"https:\/\/vpswebhostingindia.in\/blog\/change-rdp-port-for-a-windows-server\/","title":{"rendered":"How to Change RDP Port Number for a Windows Server?"},"content":{"rendered":"\n<div class=\"wp-block-rank-math-toc-block\" id=\"rank-math-toc\"><h2>Table of Contents<\/h2><nav><ul><li><a href=\"#what-is-rdp-port\">What is RDP Port?<\/a><ul><li><a href=\"#why-change-rdp-port\">Why Change RDP Port?<\/a><\/li><\/ul><\/li><li><a href=\"#how-to-change-the-remote-desktop-port-on-windows\">How to Change the Remote Desktop Port on Windows?<\/a><ul><li><a href=\"#2-methods-to-change-rdp-port-on-windows-server\">2 methods to change RDP port on windows server<\/a><ul><li><a href=\"#method-1-change-rdp-port-by-using-registry-editor\">Method 1. Change RDP port by using Registry Editor<\/a><\/li><li><a href=\"#method-2-change-rdp-port-by-the-windows-firewall\">Method 2. Change RDP port by the Windows Firewall<\/a><\/li><\/ul><\/li><\/ul><\/li><li><a href=\"#conclusion\">Conclusion<\/a><\/li><\/ul><\/nav><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">Change RDP Port &#8211; The Remote Desktop Protocol (RDP) enables remote access to Windows computers and servers. By default, RDP uses a listening port on port 3389, a well-known port that can be a target for malicious attacks. Changing the RDP default port can enhance your system\u2019s security by making it less conspicuous to potential attackers.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This detailed tutorial will walk you through the steps to change the RDP port on a Windows machine, helping to secure your remote connections.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"what-is-rdp-port\">What is RDP Port?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The&nbsp;<strong>Remote Desktop Protocol (RDP) port<\/strong>&nbsp;is a crucial component of Windows operating systems that facilitates remote desktop connections, allowing users to access and control another computer over a network.&nbsp;<strong>default RDP port<\/strong>&nbsp;is&nbsp;<strong>3389<\/strong>&nbsp;to listen for incoming connections. This port acts as a gateway for administrators and users to connect to a computer remotely, providing the flexibility to work from any location as if they were sitting right in front of the remote machine. The ability to&nbsp;<strong>change this default port<\/strong>&nbsp;is an essential security measure for reducing unauthorized access risks by making the service less discoverable to potential attackers.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><em>Explore the fundamentals and applications of\u00a0<strong>RDP<\/strong>\u00a0in remote desktop technology.<\/em><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>RDP port<\/strong>&nbsp;is an essential feature for many users while setting up a&nbsp;<strong>remote desktop connection<\/strong>&nbsp;in&nbsp;<strong>windows<\/strong>&nbsp;or&nbsp;<strong>mac<\/strong>&nbsp;devices with the remote access port. However, changing the&nbsp;<strong>default RDP port<\/strong>&nbsp;[Default RDP Port Number is 3389, and it is used for Microsoft terminal server] can also create issues in maintaining the usual working devices. To fix this problem, this guide will help you with this tutorial on&nbsp;<strong>change RDP port in windows<\/strong>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">When you connect to a\u00a0<strong>remote computer<\/strong>\u00a0(either a Windows client or\u00a0Windows Server) through the Remote Desktop connection, the Remote Desktop feature on your computer &#8220;hears&#8221; the connection through a listening port (3389 by default). You can change that listening port on Windows computers by modifying the registry. This article will guide you to\u00a0<strong>change the RDP port<\/strong>\u00a0used in remote desktop access.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Discover the power of seamless remote computing with our\u00a0<strong><a href=\"https:\/\/www.squarebrothers.com\/windows-vps-hosting-india\/\" rel=\"nofollow noopener\" target=\"_blank\">Windows VPS solutions<\/a><\/strong>, designed for optimal performance and security.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"why-change-rdp-port\">Why Change RDP Port?<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Reduced Attack Surface: By moving away from the well-known default port, you make it slightly more difficult for attackers to identify open RDP services on your network. This can be particularly effective against bots and automated attack tools that scan large IP ranges for open default ports.<\/li>\n\n\n\n<li>Obscurity as a Layer of Defense: While not a robust security measure on its own, port obfuscation can add an extra layer of defense by obscuring your RDP setup. It&#8217;s akin to hiding a door from a would-be burglar; while it doesn&#8217;t make the door any stronger, it might make it less likely to be targeted.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"how-to-change-the-remote-desktop-port-on-windows\">How to Change the Remote Desktop Port on Windows?<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"2-methods-to-change-rdp-port-on-windows-server\">2 methods to change RDP port on windows server<\/h3>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"method-1-change-rdp-port-by-using-registry-editor\">Method 1. Change RDP port by using Registry Editor<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Step1: <\/strong>Need to connect windows server with Administrator privilege, then type below command in search box \u201cregedit\u201d<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"892\" height=\"376\" src=\"https:\/\/vpswebhostingindia.in\/blog\/wp-content\/uploads\/2024\/05\/image.png\" alt=\"Change RDP Port\" class=\"wp-image-499\" srcset=\"https:\/\/vpswebhostingindia.in\/blog\/wp-content\/uploads\/2024\/05\/image.png 892w, https:\/\/vpswebhostingindia.in\/blog\/wp-content\/uploads\/2024\/05\/image-300x126.png 300w, https:\/\/vpswebhostingindia.in\/blog\/wp-content\/uploads\/2024\/05\/image-768x324.png 768w\" sizes=\"auto, (max-width: 892px) 100vw, 892px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Step2<\/strong>: You need to follow the below path to change the RDP Port in the Windows system.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">HKEY_LOCAL_MACHINE\\System\\CurrentControlSet\\Control\\Terminal Server\\WinStations\\RDP-Tcp<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/utho.com\/docs\/assets\/images\/pasted-image-0-1-318aac3757f0237ee0e787f82a35cd7f.png\" alt=\"\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Step3: <\/strong>After following above path steps, need to right click on on port number then provide the wanted port number for connection.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/utho.com\/docs\/assets\/images\/pasted-image-0-2-e1c755b2ac6fb514af623bc96dcb88a3.png\" alt=\"\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Step4 :: Need to follow below steps to change the port number in registry.<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"398\" height=\"119\" src=\"https:\/\/vpswebhostingindia.in\/blog\/wp-content\/uploads\/2024\/05\/image-1.png\" alt=\"\" class=\"wp-image-500\" srcset=\"https:\/\/vpswebhostingindia.in\/blog\/wp-content\/uploads\/2024\/05\/image-1.png 398w, https:\/\/vpswebhostingindia.in\/blog\/wp-content\/uploads\/2024\/05\/image-1-300x90.png 300w\" sizes=\"auto, (max-width: 398px) 100vw, 398px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"329\" height=\"205\" src=\"https:\/\/vpswebhostingindia.in\/blog\/wp-content\/uploads\/2024\/05\/image-2.png\" alt=\"\" class=\"wp-image-501\" srcset=\"https:\/\/vpswebhostingindia.in\/blog\/wp-content\/uploads\/2024\/05\/image-2.png 329w, https:\/\/vpswebhostingindia.in\/blog\/wp-content\/uploads\/2024\/05\/image-2-300x187.png 300w\" sizes=\"auto, (max-width: 329px) 100vw, 329px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Now give your desired port number to connect to the windows server\u2026<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"322\" height=\"193\" src=\"https:\/\/vpswebhostingindia.in\/blog\/wp-content\/uploads\/2024\/05\/image-3.png\" alt=\"\" class=\"wp-image-502\" srcset=\"https:\/\/vpswebhostingindia.in\/blog\/wp-content\/uploads\/2024\/05\/image-3.png 322w, https:\/\/vpswebhostingindia.in\/blog\/wp-content\/uploads\/2024\/05\/image-3-300x180.png 300w\" sizes=\"auto, (max-width: 322px) 100vw, 322px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Step5 :: Now I need to exit the registry then reboot the server to see the changes on it.<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Step6 :: Now we have to check the server connection with the new RDP port.<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/utho.com\/docs\/assets\/images\/pasted-image-0-6-c71d11e3943715d33f69dfe77d401557.png\" alt=\"\"\/><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"method-2-change-rdp-port-by-the-windows-firewall\">Method 2. Change RDP port by the Windows Firewall<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">Step 1. Search Windows Firewall in the search box and then choose \u201cWindows Firewall with advanced security\u201d.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.anyviewer.com\/screenshot\/windows\/windows-firewall-with-advanced-security.png\" alt=\"Firewall With Advanced Security\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Step 2. From the left sidebar click on&nbsp;Inbound Rules.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.anyviewer.com\/screenshot\/windows\/inbound-rules-firewall.png\" alt=\"Inbound Rules Firewall\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Step 3. From the right sidebar click on&nbsp;New Rule.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.anyviewer.com\/screenshot\/windows\/new-rule.png\" alt=\"New Rule\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Step 4. Select&nbsp;Port&nbsp;and click&nbsp;Next.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.anyviewer.com\/screenshot\/windows\/port.png\" alt=\"Port\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Step 5. Select&nbsp;TCP&nbsp;and type the port number in a Specific local port&nbsp;and click&nbsp;Next.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.anyviewer.com\/screenshot\/windows\/tcp-3327.png\" alt=\"TCP 3327\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Step 6. &nbsp;Type in a name for the rule such as &#8220;TCP port 3327,&#8221; then click \u201cFinish\u201d to allow the 3327 port in Windows Firewall. Now &#8220;Windows Server 2016 RDP port Firewall&#8221; is done successfully.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.anyviewer.com\/screenshot\/windows\/rdp-port-3327.png\" alt=\"RDP Port 3327\"\/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"conclusion\">Conclusion<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">In this article, we tried to briefly explain what an RDP port, and how to change the RDP port on a Windows server. You can use this guide for almost all Windows versions like Windows Server 2022, Windows 10, Windows 8.1, Windows 8, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2008 R2. We hope this guide helped you.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">You can also visit the detailed blog of <a href=\"https:\/\/vpswebhostingindia.in\/blog\/windows-vps-hosting-and-its-benefits\/\">Windows VPS hosting and its benefits<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Change RDP Port &#8211; The Remote Desktop Protocol (RDP) enables remote access to Windows computers and servers. By default, RDP uses a listening port on port 3389, a well-known port that can be a target for malicious attacks. Changing the RDP default port can enhance your system\u2019s security by making it less conspicuous to potential [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":505,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"rank_math_lock_modified_date":false,"_eb_attr":"","footnotes":""},"categories":[1,34,40,17,38],"tags":[],"class_list":["post-498","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ftp","category-rdp","category-remote-server","category-vps","category-windows"],"_links":{"self":[{"href":"https:\/\/vpswebhostingindia.in\/blog\/wp-json\/wp\/v2\/posts\/498","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/vpswebhostingindia.in\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/vpswebhostingindia.in\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/vpswebhostingindia.in\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/vpswebhostingindia.in\/blog\/wp-json\/wp\/v2\/comments?post=498"}],"version-history":[{"count":2,"href":"https:\/\/vpswebhostingindia.in\/blog\/wp-json\/wp\/v2\/posts\/498\/revisions"}],"predecessor-version":[{"id":504,"href":"https:\/\/vpswebhostingindia.in\/blog\/wp-json\/wp\/v2\/posts\/498\/revisions\/504"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/vpswebhostingindia.in\/blog\/wp-json\/wp\/v2\/media\/505"}],"wp:attachment":[{"href":"https:\/\/vpswebhostingindia.in\/blog\/wp-json\/wp\/v2\/media?parent=498"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/vpswebhostingindia.in\/blog\/wp-json\/wp\/v2\/categories?post=498"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/vpswebhostingindia.in\/blog\/wp-json\/wp\/v2\/tags?post=498"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}