{"id":6249,"date":"2023-07-01T01:08:31","date_gmt":"2023-07-01T01:08:31","guid":{"rendered":"https:\/\/www.iseepassword.com\/blog\/?p=6249"},"modified":"2023-10-16T07:29:20","modified_gmt":"2023-10-16T07:29:20","slug":"how-to-change-rdp-port-on-windows-server-2019","status":"publish","type":"post","link":"https:\/\/www.iseepassword.com\/blog\/how-to-change-rdp-port-on-windows-server-2019\/","title":{"rendered":"How to Change Rdp Port on Windows Server 2019?"},"content":{"rendered":"<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_69_1 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.iseepassword.com\/blog\/how-to-change-rdp-port-on-windows-server-2019\/#Video_Tutorial_How_do_I_change_my_RDP_port_3389_in_Server_2019\" title=\"Video Tutorial:How do I change my RDP port 3389 in Server 2019?\">Video Tutorial:How do I change my RDP port 3389 in Server 2019?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.iseepassword.com\/blog\/how-to-change-rdp-port-on-windows-server-2019\/#How_do_I_change_the_RDP_port_on_a_Windows_server\" title=\"How do I change the RDP port on a Windows server?\">How do I change the RDP port on a Windows server?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.iseepassword.com\/blog\/how-to-change-rdp-port-on-windows-server-2019\/#How_do_I_change_my_RDP_port_3389\" title=\"How do I change my RDP port 3389?\">How do I change my RDP port 3389?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/www.iseepassword.com\/blog\/how-to-change-rdp-port-on-windows-server-2019\/#What_ports_does_Server_2019_use_for_RDP\" title=\"What ports does Server 2019 use for RDP?\">What ports does Server 2019 use for RDP?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/www.iseepassword.com\/blog\/how-to-change-rdp-port-on-windows-server-2019\/#How_to_configure_RDP_on_Windows_Server_2019\" title=\"How to configure RDP on Windows Server 2019?\">How to configure RDP on Windows Server 2019?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/www.iseepassword.com\/blog\/how-to-change-rdp-port-on-windows-server-2019\/#How_do_I_open_port_3389_on_Windows_Server_2019\" title=\"How do I open port 3389 on Windows Server 2019?\">How do I open port 3389 on Windows Server 2019?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/www.iseepassword.com\/blog\/how-to-change-rdp-port-on-windows-server-2019\/#How_do_I_specify_a_port_in_Remote_Desktop\" title=\"How do I specify a port in Remote Desktop?\">How do I specify a port in Remote Desktop?<\/a><\/li><\/ul><\/nav><\/div>\n<p>Changing the RDP (Remote Desktop Protocol) port on a Windows Server 2019 can be helpful in enhancing the security of the server. You can accomplish this task using a few simple steps. <\/p>\n<p>Firstly, you need to open the Windows Firewall with Advanced Security and create a new inbound rule for the new port you want to use for RDP. Make sure to enable the rule by ticking the box. <\/p>\n<p>Next, you need to open the Registry Editor and navigate to the following path: HKEY_LOCAL_MACHINESystemCurrentControlSetControlTerminal ServerWinStationsRDP-Tcp. Here, you can find a PortNumber value. Double-click on the value, select Decimal, and then enter the new port number you want to use for RDP. <\/p>\n<p>Once you have made the necessary changes, save the Registry Editor and restart the server. You should now be able to connect to the server using the new RDP port. <\/p>\n<p>However, it is important to note that changing the RDP port alone may not provide complete protection against cyber threats. Additional measures such as strong passwords, two-factor authentication, and restricting access based on IP addresses should also be considered for better security.<\/p>\n<p><\/p>\n<h2><span class=\"ez-toc-section\" id=\"Video_Tutorial_How_do_I_change_my_RDP_port_3389_in_Server_2019\"><\/span>Video Tutorial:How do I change my RDP port 3389 in Server 2019?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><\/p>\n<h2><span class=\"ez-toc-section\" id=\"How_do_I_change_the_RDP_port_on_a_Windows_server\"><\/span>How do I change the RDP port on a Windows server?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Changing the RDP port on a Windows server involves modifying the Windows Registry. To do this, you&#8217;ll need to access the Registry Editor by pressing the Windows key + R and then typing &#8220;regedit.&#8221; From there, navigate to &#8220;HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlTerminal ServerWinStationsRDP-Tcp.&#8221; Look for the &#8220;PortNumber&#8221; key and modify its value to the desired port number. After making the change, you&#8217;ll need to restart the Remote Desktop Service for the changes to take effect. It&#8217;s important to note that changing the default RDP port can improve security, but it can also cause compatibility issues with certain applications that rely on the default port. Therefore, it&#8217;s important to thoroughly test any changes before implementing them on a production server.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"How_do_I_change_my_RDP_port_3389\"><\/span>How do I change my RDP port 3389?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>If you want to change the default Remote Desktop Protocol (RDP) port 3389 on your Windows device, you can do so by modifying the registry. Here are the steps:<\/p>\n<p>1. Press the Windows key + R to open the Run dialog box.<br \/>\n2. Type &#8220;regedit&#8221; and press Enter to open the Registry Editor.<br \/>\n3. Navigate to the following key: HKEY_LOCAL_MACHINESystemCurrentControlSetControlTerminal ServerWinStationsRDP-Tcp<br \/>\n4. Look for the &#8220;PortNumber&#8221; entry on the right-hand side and double-click on it.<br \/>\n5. Select the &#8220;Decimal&#8221; option and enter the new port number you want to use (e.g., 3390).<br \/>\n6. Click OK and close the Registry Editor.<br \/>\n7. Restart your computer to apply the changes.<\/p>\n<p>After performing these steps, you should be able to connect to your Windows device using the new RDP port number. Please note that you may need to modify your firewall or router settings to allow incoming connections on the new port.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"What_ports_does_Server_2019_use_for_RDP\"><\/span>What ports does Server 2019 use for RDP?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Server 2019 uses TCP port 3389 by default for Remote Desktop Protocol (RDP) connections. However, it is recommended to configure the remote desktop to use a non-default port for security purposes. It is also important to implement additional security measures such as strong passwords, two-factor authentication, and network-level authentication to prevent unauthorized access to the server.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"How_to_configure_RDP_on_Windows_Server_2019\"><\/span>How to configure RDP on Windows Server 2019?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Configuring Remote Desktop Protocol (RDP) on Windows Server 2019 involves a few simple steps:<\/p>\n<p>1. First, you&#8217;ll need to enable Remote Desktop on your server. To do this, navigate to the System properties, click on the &#8220;Remote Desktop&#8221; option, and select &#8220;Allow remote connections to this computer.&#8221;<\/p>\n<p>2. Next, configure your firewall settings to allow inbound traffic for RDP. You can do this using the &#8220;Windows Defender Firewall with Advanced Security&#8221; tool.<\/p>\n<p>3. You&#8217;ll also need to ensure that the user accounts you want to grant remote access to are members of the Remote Desktop Users group on the server.<\/p>\n<p>4. Finally, you can connect to the server with Remote Desktop Client software using the server&#8217;s IP address or hostname.<\/p>\n<p>It&#8217;s important to ensure that your RDP connections are secure by using strong passwords and implementing additional security measures like two-factor authentication and network level authentication (NLA). Regularly updating your server with the latest security patches is also critical to keeping it secure.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"How_do_I_open_port_3389_on_Windows_Server_2019\"><\/span>How do I open port 3389 on Windows Server 2019?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>To open port 3389 on Windows Server 2019, you can follow these steps:<\/p>\n<p>1. Log in to the server with administrator privileges.<br \/>\n2. Open the Windows Firewall with Advanced Security control panel.<br \/>\n3. Click on Inbound Rules in the left-hand pane.<br \/>\n4. Click on New Rule in the right-hand pane.<br \/>\n5. In the New Inbound Rule Wizard, select the Port option.<br \/>\n6. Click Next, and select TCP as the protocol and enter 3389 as the port number.<br \/>\n7. Click Next, and select Allow the connection.<br \/>\n8. Click Next, and select the profiles for which you want to allow the connection.<br \/>\n9. Give the rule a name and click Finish.<\/p>\n<p>Once you have completed these steps, port 3389 should be open on your Windows Server 2019 machine, allowing remote desktop connections. It is important to note that opening ports on your system can be a security risk, so be sure to only open the ports that are necessary and that you have proper security measures in place.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"How_do_I_specify_a_port_in_Remote_Desktop\"><\/span>How do I specify a port in Remote Desktop?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>To specify a port in Remote Desktop, you need to add a colon followed by the port number at the end of the computer name or IP address in the Remote Desktop Connection dialog box. For example, if the computer you want to connect to has an IP address of 192.168.1.100 and the port number you want to use is 3389, you would enter &#8220;192.168.1.100:3389&#8221; in the computer field of the Remote Desktop Connection dialog box. If the port number is not included, Remote Desktop will use the default port of 3389. It&#8217;s important to ensure that the port you&#8217;re using is open and properly configured on the remote computer and any firewalls or routers in between.<br \/>\n{&#8220;@context&#8221;:&#8221;https:\/\/schema.org&#8221;,&#8221;@type&#8221;:&#8221;FAQPage&#8221;,&#8221;mainEntity&#8221;:[{&#8220;@type&#8221;:&#8221;Question&#8221;,&#8221;name&#8221;:&#8221;How do I change the RDP port on a Windows server?&#8221;,&#8221;acceptedAnswer&#8221;:{&#8220;@type&#8221;:&#8221;Answer&#8221;,&#8221;text&#8221;:&#8221;Changing the RDP port on a Windows server involves modifying the Windows Registry. To do this, you&#8217;ll need to access the Registry Editor by pressing the Windows key + R and then typing &#8220;regedit.&#8221; From there, navigate to &#8220;HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlTerminal ServerWinStationsRDP-Tcp.&#8221; Look for the &#8220;PortNumber&#8221; key and modify its value to the desired port number. After making the change, you&#8217;ll need to restart the Remote Desktop Service for the changes to take effect. It&#8217;s important to note that changing the default RDP port can improve security, but it can also cause compatibility issues with certain applications that rely on the default port. Therefore, it&#8217;s important to thoroughly test any changes before implementing them on a production server.&#8221;}},{&#8220;@type&#8221;:&#8221;Question&#8221;,&#8221;name&#8221;:&#8221;How do I change my RDP port 3389?&#8221;,&#8221;acceptedAnswer&#8221;:{&#8220;@type&#8221;:&#8221;Answer&#8221;,&#8221;text&#8221;:&#8221;If you want to change the default Remote Desktop Protocol (RDP) port 3389 on your Windows device, you can do so by modifying the registry. Here are the steps:nn1. Press the Windows key + R to open the Run dialog box.n2. Type &#8220;regedit&#8221; and press Enter to open the Registry Editor.n3. Navigate to the following key: HKEY_LOCAL_MACHINESystemCurrentControlSetControlTerminal ServerWinStationsRDP-Tcpn4. Look for the &#8220;PortNumber&#8221; entry on the right-hand side and double-click on it.n5. Select the &#8220;Decimal&#8221; option and enter the new port number you want to use (e.g., 3390).n6. Click OK and close the Registry Editor.n7. Restart your computer to apply the changes.nnAfter performing these steps, you should be able to connect to your Windows device using the new RDP port number. Please note that you may need to modify your firewall or router settings to allow incoming connections on the new port.&#8221;}},{&#8220;@type&#8221;:&#8221;Question&#8221;,&#8221;name&#8221;:&#8221;What ports does Server 2019 use for RDP?&#8221;,&#8221;acceptedAnswer&#8221;:{&#8220;@type&#8221;:&#8221;Answer&#8221;,&#8221;text&#8221;:&#8221;Server 2019 uses TCP port 3389 by default for Remote Desktop Protocol (RDP) connections. However, it is recommended to configure the remote desktop to use a non-default port for security purposes. It is also important to implement additional security measures such as strong passwords, two-factor authentication, and network-level authentication to prevent unauthorized access to the server.&#8221;}},{&#8220;@type&#8221;:&#8221;Question&#8221;,&#8221;name&#8221;:&#8221;How to configure RDP on Windows Server 2019?&#8221;,&#8221;acceptedAnswer&#8221;:{&#8220;@type&#8221;:&#8221;Answer&#8221;,&#8221;text&#8221;:&#8221;Configuring Remote Desktop Protocol (RDP) on Windows Server 2019 involves a few simple steps:nn1. First, you&#8217;ll need to enable Remote Desktop on your server. To do this, navigate to the System properties, click on the &#8220;Remote Desktop&#8221; option, and select &#8220;Allow remote connections to this computer.&#8221;nn2. Next, configure your firewall settings to allow inbound traffic for RDP. You can do this using the &#8220;Windows Defender Firewall with Advanced Security&#8221; tool.nn3. You&#8217;ll also need to ensure that the user accounts you want to grant remote access to are members of the Remote Desktop Users group on the server.nn4. Finally, you can connect to the server with Remote Desktop Client software using the server&#8217;s IP address or hostname.nnIt&#8217;s important to ensure that your RDP connections are secure by using strong passwords and implementing additional security measures like two-factor authentication and network level authentication (NLA). Regularly updating your server with the latest security patches is also critical to keeping it secure.&#8221;}},{&#8220;@type&#8221;:&#8221;Question&#8221;,&#8221;name&#8221;:&#8221;How do I open port 3389 on Windows Server 2019?&#8221;,&#8221;acceptedAnswer&#8221;:{&#8220;@type&#8221;:&#8221;Answer&#8221;,&#8221;text&#8221;:&#8221;To open port 3389 on Windows Server 2019, you can follow these steps:nn1. Log in to the server with administrator privileges.n2. Open the Windows Firewall with Advanced Security control panel.n3. Click on Inbound Rules in the left-hand pane.n4. Click on New Rule in the right-hand pane.n5. In the New Inbound Rule Wizard, select the Port option.n6. Click Next, and select TCP as the protocol and enter 3389 as the port number.n7. Click Next, and select Allow the connection.n8. Click Next, and select the profiles for which you want to allow the connection.n9. Give the rule a name and click Finish.nnOnce you have completed these steps, port 3389 should be open on your Windows Server 2019 machine, allowing remote desktop connections. It is important to note that opening ports on your system can be a security risk, so be sure to only open the ports that are necessary and that you have proper security measures in place.&#8221;}},{&#8220;@type&#8221;:&#8221;Question&#8221;,&#8221;name&#8221;:&#8221;How do I specify a port in Remote Desktop?&#8221;,&#8221;acceptedAnswer&#8221;:{&#8220;@type&#8221;:&#8221;Answer&#8221;,&#8221;text&#8221;:&#8221;To specify a port in Remote Desktop, you need to add a colon followed by the port number at the end of the computer name or IP address in the Remote Desktop Connection dialog box. For example, if the computer you want to connect to has an IP address of 192.168.1.100 and the port number you want to use is 3389, you would enter &#8220;192.168.1.100:3389&#8243; in the computer field of the Remote Desktop Connection dialog box. If the port number is not included, Remote Desktop will use the default port of 3389. It&#8217;s important to ensure that the port you&#8217;re using is open and properly configured on the remote computer and any firewalls or routers in between.&#8221;}}]}<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Changing the RDP (Remote Desktop Protocol) port on a Windows Server 2019 can be helpful in enhancing the security of the server. You can accomplish this task using a few simple steps. Firstly, you need to open the Windows Firewall with Advanced Security and create a new inbound rule for the new port you want [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[1],"tags":[],"class_list":["post-6249","post","type-post","status-publish","format-standard","hentry","category-resources"],"_links":{"self":[{"href":"https:\/\/www.iseepassword.com\/blog\/wp-json\/wp\/v2\/posts\/6249","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.iseepassword.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.iseepassword.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.iseepassword.com\/blog\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.iseepassword.com\/blog\/wp-json\/wp\/v2\/comments?post=6249"}],"version-history":[{"count":3,"href":"https:\/\/www.iseepassword.com\/blog\/wp-json\/wp\/v2\/posts\/6249\/revisions"}],"predecessor-version":[{"id":12391,"href":"https:\/\/www.iseepassword.com\/blog\/wp-json\/wp\/v2\/posts\/6249\/revisions\/12391"}],"wp:attachment":[{"href":"https:\/\/www.iseepassword.com\/blog\/wp-json\/wp\/v2\/media?parent=6249"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.iseepassword.com\/blog\/wp-json\/wp\/v2\/categories?post=6249"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.iseepassword.com\/blog\/wp-json\/wp\/v2\/tags?post=6249"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}