<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:media="http://search.yahoo.com/mrss/" >

<channel>
	<title>change the default RDP port on windows &#8211; RACKSET</title>
	<atom:link href="https://rackset.com/tag/change-the-default-rdp-port-on-windows/feed" rel="self" type="application/rss+xml" />
	<link>https://rackset.com</link>
	<description></description>
	<lastBuildDate>Sun, 26 Jul 2026 14:58:57 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	

<image>
	<url>https://rackset.com/wp-content/uploads/2025/01/cropped-Rackset-logo-512-32x32.png</url>
	<title>change the default RDP port on windows &#8211; RACKSET</title>
	<link>https://rackset.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>How to Change Remote Desktop Port</title>
		<link>https://rackset.com/learn/server/how-to-change-remote-desktop-port</link>
					<comments>https://rackset.com/learn/server/how-to-change-remote-desktop-port#respond</comments>
		
		<dc:creator><![CDATA[rackset]]></dc:creator>
		<pubDate>Mon, 30 Jan 2023 13:13:43 +0000</pubDate>
				<category><![CDATA[Server]]></category>
		<category><![CDATA[Server Management & Monitoring]]></category>
		<category><![CDATA[best Windows VPS hosting]]></category>
		<category><![CDATA[buy windows vps hosting]]></category>
		<category><![CDATA[change RDP port]]></category>
		<category><![CDATA[change the default RDP port on windows]]></category>
		<category><![CDATA[change the remote desktop connection port]]></category>
		<category><![CDATA[how to change remote desktop port windows 10]]></category>
		<category><![CDATA[how to change remote desktop port windows server 2016]]></category>
		<guid isPermaLink="false">https://rackset.com/?post_type=blog&#038;p=6970</guid>

					<description><![CDATA[Are you aware of the notorious BlueKeep vulnerability? It exploited port 389 by sending a specially-crafted message that enabled the hackers to run any kind of code remotely on compromised systems. Given the security threat that RDP poses, it is advised to turn off RDP when it&#8217;s not necessary, but there are certain times when [&#8230;]]]></description>
										<content:encoded><![CDATA[<p><span style="font-weight: 400;">Are you aware of the notorious BlueKeep vulnerability? It exploited port 389 by sending a specially-crafted message that enabled the hackers to run any kind of code remotely on compromised systems. Given the security threat that RDP poses, it is advised to turn off RDP when it&#8217;s not necessary, but there are certain times when you <a href="https://rackset.com/server/vps/windows" target="_blank" rel="noopener"><strong>buy Windows VPS hosting</strong></a> to use it all the time. You can’t just use the remote desktop. However, there are ways to <strong>change the RDP port number</strong> from its default number.</span></p>
<p><span style="font-weight: 400;">It won&#8217;t necessarily make your Windows system totally secure; however, it will aid in stopping some hackers who use scripts. In this article, we’ll go over how to <strong>change the remote desktop connection port</strong> and why it is necessary to do so.</span></p>
<p>&nbsp;</p>
<h2><b>Remote Desktop Remote Access</b></h2>
<p><span style="font-weight: 400;">Windows operating systems have an integrated Microsoft Remote Desktop, a client program that allows users to connect and access resources as well as documents on remote computers through the Internet.</span></p>
<p>&nbsp;</p>
<h2><b>How Do They Work?</b></h2>
<p><span style="font-weight: 400;">Let’s say you have just bought the <strong><a href="https://rackset.com/server/vps/windows" target="_blank" rel="noopener">best Windows VPS hosting</a></strong> service. When you begin an online desktop session, your computer transmits a signal to the host computer through an open port 3389, asking for permission for connection. The host computer asks for login credentials, compares them against the list of remote desktop users that have been configured and then grants permission.</span></p>
<p><span style="font-weight: 400;">Once you&#8217;ve logged into the system, the listening port relays your mouse and keyboard motions to your host&#8217;s computer. It then collects and displays the information from the host computer to your computer. It&#8217;s almost like the remote computer trying to work with it! All this is due to the back-and-forth communication via your listening ports.</span></p>
<p><span style="font-weight: 400;">But be aware that hosts allow only just one connection from a remote device at a given time. If a user tries to connect to the host&#8217;s computer or connect to it via a different device, then the remote connection will be lost.</span></p>
<p><span style="font-weight: 400;">As you can probably tell, it is clear that listeners&#8217; ports play an essential element in remote desktops.</span></p>
<p><span style="font-weight: 400;">In certain ways, the importance of listening ports can be an area of vulnerability for hackers, as they can gain access to the listening port and connect to computers from afar.</span></p>
<p>&nbsp;</p>
<h2><b>Why Should You Change the Default RDP Port on Windows?</b></h2>
<p><span style="font-weight: 400;">Microsoft utilizes an industry-standard port number 3389 to connect to remote connections in general, and it&#8217;s no secret. There are many instances where hackers use the listening port 3389 in order to access remote computers and employ the system of automated authentication to obtain access. These are known as &#8220;password spraying&#8221; and brute force attacks similar to the one recently discovered by Microsoft.</span></p>
<p><span style="font-weight: 400;">This is certainly an extremely serious security flaw that could expose your remote system to hackers.</span></p>
<p><span style="font-weight: 400;">To mitigate this vulnerability, administrators are often able to <strong>change the RDP port&#8217;s number</strong> to a different port that is free, making it difficult for hackers to detect the port that RDP is listening to.</span></p>
<p><span style="font-weight: 400;">Apart from protecting themselves from hackers, administrators can also change their RDP port numbers in order to be able to bypass firewalls.</span></p>
<p><span style="font-weight: 400;">To protect themselves, certain firewalls in systems are configured to block both outgoing and inbound messages sent to and from port 3389 and vice versa. This is done to block hackers from signing into the port, rather as opposed to blocking remote access.</span></p>
<div class="blogbutton"><a href="https://rackset.com/server/vps/windows" target="_blank" rel="noopener">Buy Secure Windows VPS</a></div>
<p>&nbsp;</p>
<h2><b>How to Change the Remote Desktop Port on Windows 10</b></h2>
<p><img decoding="async" class="alignnone size-medium wp-image-6976" src="https://rackset.com/wp-content/uploads/2023/01/how-to-change-remote-desktop-port.jpg" alt="how to change rdp port" width="" height="" /></p>
<p><span style="font-weight: 400;">Now that you know the importance of changing the default port, you may get right into it as soon as possible.</span></p>
<p><span style="font-weight: 400;">Generally speaking, there are two methods that you can use to change the port number; whether you <a href="https://rackset.com/server/vps/windows" target="_blank" rel="noopener"><strong>buy Windows VPS hosting</strong></a> or your personal computer, you can use either the registry or PowerShell to do so.</span></p>
<p><span style="font-weight: 400;">While neither is superior to the other, it&#8217;s much more of a personal choice. If you are familiar with PowerShell and would prefer getting things done with code, then this is the way to go.</span></p>
<p>&nbsp;</p>
<h3><b>Using Windows Registry</b></h3>
<p><span style="font-weight: 400;">This is a step-by-step tutorial on c<strong>hanging the remote desktop port in Windows 10</strong>.</span></p>
<p><span style="font-weight: 400;">Select Windows + R to open the Run dialog box. Type Regedit to start the editor for the registry.</span></p>
<ul>
<li><span style="font-weight: 400;">     </span><span style="font-weight: 400;">Navigate to HKEY_LOCAL_MACHINESystemCurrentControlSetControlTerminal ServerWinStationsRDP-Tcp.</span></li>
<li><span style="font-weight: 400;">     </span><span style="font-weight: 400;">Look for Port Number.</span></li>
<li><span style="font-weight: 400;">     </span><span style="font-weight: 400;">Click Edit &gt; Modify.</span></li>
<li><span style="font-weight: 400;">     </span><span style="font-weight: 400;">Then enter the number of the newly opened port, then click OK.</span></li>
<li><span style="font-weight: 400;">     </span><span style="font-weight: 400;">Stop the registry.</span></li>
<li><span style="font-weight: 400;">     </span><span style="font-weight: 400;">Make sure to restart your system.</span></li>
</ul>
<p><span style="font-weight: 400;">If your remote computer is running a firewall, be sure that you configure it in order to permit connections through the latest port number.</span></p>
<p>&nbsp;</p>
<h3><b>How to Change Remote Desktop Port on Windows Server 2016</b></h3>
<p><span style="font-weight: 400;">It&#8217;s strongly recommended to change the Windows remote desktop&#8217;s default port to ensure security.</span></p>
<p><span style="font-weight: 400;">You can <strong>change the RDP port</strong> by following these steps. Firstly, you’ll have to change the port and then define the port in the firewall rule.</span></p>
<p><span style="font-weight: 400;"><strong>Change the remote desktop connection port</strong>:</span></p>
<ul>
<li><span style="font-weight: 400;">     </span><span style="font-weight: 400;">The registry editor can be opened using the search function Regedit in the Windows search box or using Run.</span></li>
<li><span style="font-weight: 400;">     </span><span style="font-weight: 400;">Find the following in the regedit application:</span></li>
</ul>
<p><span style="font-weight: 400;">HKEY_LOCAL_MACHINESystemCurrentControlSetControlTerminal ServerWinStationsRDP-Tcp</span></p>
<ul>
<li><span style="font-weight: 400;">     </span><span style="font-weight: 400;">Search for the PortNumber and then right-click it and alter it.</span></li>
<li><span style="font-weight: 400;">     </span><span style="font-weight: 400;">Be sure to choose Decimal under the Base option</span></li>
<li><span style="font-weight: 400;">     </span><span style="font-weight: 400;">Switch the port&#8217;s port to whatever number you like. Let&#8217;s say 4545 and then click OK.</span></li>
<li><span style="font-weight: 400;">     </span><span style="font-weight: 400;">Stop using the registry editor.</span></li>
<li><span style="font-weight: 400;">     </span><span style="font-weight: 400;">Open Firewall (Windows Defender Firewall with Advanced Security)</span></li>
<li><span style="font-weight: 400;">     </span><span style="font-weight: 400;">From the left sidebar, click on Inbound Rules.</span></li>
<li><span style="font-weight: 400;">     </span><span style="font-weight: 400;">From the right sidebar, click on New Rule.</span></li>
<li><span style="font-weight: 400;">     </span><span style="font-weight: 400;">Choose a Port Click Next</span></li>
<li><span style="font-weight: 400;">     </span><span style="font-weight: 400;">Choose</span> <span style="font-weight: 400;">the TCP port and enter the port number into the local port you want to use, then click</span> <span style="font-weight: 400;">the next button until you arrive at the section where you need to input a name for the rule and give the rule a title and click to finish. (Repeat from #7 until #11 to use UDP)</span></li>
<li><span style="font-weight: 400;">     </span><span style="font-weight: 400;">Try connecting via RDP as normal, but when you type in the IP, make sure to enter the custom port number following the IP with this format</span> <span style="font-weight: 400;">IP:Port (e.g., 211.111.1.5</span><b>:</b><span style="font-weight: 400;">4545)</span></li>
</ul>
<p>&nbsp;</p>
<h3><b>PowerShell</b></h3>
<p><span style="font-weight: 400;">You can also alter your RDP port by using one of the below PowerShell commands. With this option, you&#8217;ll indicate our current <strong>RDP port number</strong> as 4545.</span></p>
<p><span style="font-weight: 400;">To add the new RDP Port in the Registry:</span><br />
Set-ItemProperty -Path ‘HKLM:SYSTEMCurrentControlSetControlTerminal ServerWinStationsRDP-Tcp’ -name “PortNumber” -Value 4545<br />
&nbsp;</p>
<p><span style="font-weight: 400;">Then add a Firewall Rule to open port 1234 in the Public profile by using PowerShell</span></p>
<p><span style="font-weight: 400;">New-NetFirewallRule -DisplayName &#8216;RDPPORT_TCP&#8217; -Profile &#8216;Public&#8217; -Direction Inbound -Action Allow -Protocol TCP -LocalPort </span><b>4545</b></p>
<p>&nbsp;</p>
<p><span style="font-weight: 400;">Now restart the server using the following script:</span></p>
<p><span style="font-weight: 400;">Restart-Service -Force -DisplayName &#8220;Remote Desktop Services&#8221;</span></p>
<p>&nbsp;</p>
<h2><b>Conclusion</b></h2>
<p><span style="font-weight: 400;">In short, when you buy a Windows VPS server, you may want to connect to it using the RDP. RDP helps to connect to remote devices, and all communications between devices occur via listening ports. In particular, port 3389 is the one used as a default port for remote connections.</span></p>
<p><span style="font-weight: 400;">However, hackers may employ techniques of brute force attack to gain access to remote devices via the default port. Therefore, many security professionals and administrators prefer changing the port number in order to make it more difficult for hackers to gain access to remote devices. Sometimes, this modification is needed to bypass firewalls too.</span></p>
<div class="blogbutton"><a href="https://rackset.com/server/vps/windows" target="_blank" rel="noopener">Buy Secure Windows VPS</a></div>
<h2>Understanding RDP Ports and Their Importance</h2>
<p>Remote Desktop Protocol (RDP) ports play a crucial role in enabling remote connections to your server. By default, RDP uses port 3389, which can be a security risk if left unchanged. Understanding how to modify this port can enhance your server&#8217;s security and performance.</p>
<h2>Step-by-Step Guide to Changing the RDP Port</h2>
<ul>
<li><strong>Backup Your Registry:</strong> Before making any changes, ensure that you back up your registry to prevent data loss.</li>
<li><strong>Open Registry Editor:</strong> Press <code>Win + R</code>, type <code>regedit</code>, and hit Enter.</li>
<li><strong>Navigate to Key:</strong> Go to <code>HKEY_LOCAL_MACHINESystemCurrentControlSetControlTerminal ServerWinStationsRDP-Tcp</code>.</li>
<li><strong>Modify Port Number:</strong> Find the <code>PortNumber</code> key, double-click it, switch to Decimal, and enter your new port number.</li>
<li><strong>Restart Your Server:</strong> For changes to take effect, restart your server.</li>
</ul>
<h2>RDP Port Comparison Table</h2>
<table>
<thead>
<tr>
<th>Port Number</th>
<th>Common Use</th>
<th>Security Level</th>
</tr>
</thead>
<tbody>
<tr>
<td>3389</td>
<td>Default RDP</td>
<td>Low</td>
</tr>
<tr>
<td>Custom Port</td>
<td>Custom RDP</td>
<td>High</td>
</tr>
</tbody>
</table>
<h2>FAQ</h2>
<h3>What is the default RDP port number?</h3>
<p>The default RDP port number is 3389. This is commonly used for remote desktop connections but can be changed to enhance security.</p>
<h3>Why should I change the RDP port?</h3>
<p>Changing the RDP port can help protect your server from unauthorized access and reduce exposure to potential cyber threats.</p>
<h3>Can changing the RDP port affect server performance?</h3>
<p>Changing the RDP port does not typically affect server performance. However, it can improve security by reducing the risk of unauthorized access.</p>
<p>For a more secure and reliable server experience, consider exploring our <a href="https://rackset.com/products/vps">VPS hosting solutions</a> that offer enhanced security features and flexibility.</p>
<p><script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "FAQPage",
  "mainEntity": [
    {
      "@type": "Question",
      "name": "What is the default RDP port number?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "The default RDP port number is 3389. This is commonly used for remote desktop connections but can be changed to enhance security."
      }
    },
    {
      "@type": "Question",
      "name": "Why should I change the RDP port?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Changing the RDP port can help protect your server from unauthorized access and reduce exposure to potential cyber threats."
      }
    },
    {
      "@type": "Question",
      "name": "Can changing the RDP port affect server performance?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Changing the RDP port does not typically affect server performance. However, it can improve security by reducing the risk of unauthorized access."
      }
    }
  ]
}
</script></p>
<h2>Understanding the Importance of Changing the Default RDP Port</h2>
<p>Changing the default RDP port from 3389 to another port is a critical security measure. The default port is a well-known target for attackers attempting unauthorized access through brute force attacks. By altering this port, you reduce the risk of such attacks, as it adds an additional layer of obscurity and security to your remote desktop connections.</p>
<p>Moreover, adjusting the RDP port can help in avoiding conflicts with other services or applications that might also use port 3389. This is particularly useful in environments where multiple remote desktop services are running, as it ensures that each service operates without interference, leading to improved stability and performance.</p>
<h2>Best Practices for Selecting a New RDP Port</h2>
<p>When selecting a new RDP port, it&#8217;s essential to choose a port number that minimizes security risks and avoids conflicts with other applications. Here are some best practices to guide you:</p>
<ul>
<li><strong>Choose a Non-Standard Port:</strong> Opt for a port number above 1024, as ports below this range are well-known and commonly used by standard services.</li>
<li><strong>Avoid Well-Known Ports:</strong> Steer clear of ports that are widely recognized or commonly associated with other services to prevent potential conflicts.</li>
<li><strong>Document Your Changes:</strong> Keep a detailed record of the new port number and any related configuration changes for future reference and troubleshooting.</li>
</ul>
<p>By following these best practices, you can enhance the security and functionality of your remote desktop services, ensuring a more robust and secure setup.</p>
<h2>Troubleshooting Common Issues After Changing the RDP Port</h2>
<p>Changing the RDP port can sometimes lead to connectivity issues. Here are some common problems and their solutions:</p>
<ul>
<li><strong>Firewall Configuration:</strong> Ensure that your firewall settings allow traffic through the new RDP port. This may involve creating a new rule to permit inbound connections on the specified port.</li>
<li><strong>Router Port Forwarding:</strong> If you&#8217;re connecting remotely, verify that your router is correctly configured to forward traffic from the new port to the internal IP address of the server.</li>
<li><strong>DNS and IP Address Changes:</strong> If you&#8217;ve recently changed DNS settings or IP addresses, ensure that your RDP client is updated with the correct information to prevent connection failures.</li>
</ul>
<p>By addressing these common issues, you can ensure a smooth transition and maintain reliable remote desktop connectivity.</p>
<h2>Comparing RDP Port Alternatives and Their Impact on Security</h2>
<p>While changing the RDP port is an effective security measure, it&#8217;s important to consider alternative approaches and their implications:</p>
<table>
<thead>
<tr>
<th>Alternative</th>
<th>Security Impact</th>
<th>Implementation Complexity</th>
</tr>
</thead>
<tbody>
<tr>
<td>VPN</td>
<td>High &#8211; Encrypts traffic and adds a layer of authentication</td>
<td>Moderate &#8211; Requires VPN server setup and client configuration</td>
</tr>
<tr>
<td>SSH Tunneling</td>
<td>High &#8211; Provides encrypted tunnels for RDP traffic</td>
<td>Moderate &#8211; Involves configuring SSH server and clients</td>
</tr>
<tr>
<td>Two-Factor Authentication</td>
<td>High &#8211; Adds an extra layer of security beyond passwords</td>
<td>Low &#8211; Can be easily integrated with existing RDP setups</td>
</tr>
</tbody>
</table>
<p>These alternatives can be used in conjunction with changing the RDP port to create a more secure remote access environment, balancing security needs with the complexity of implementation.</p>
<h2>Understanding the Importance of Changing the RDP Port</h2>
<p>While Remote Desktop Protocol (RDP) is an essential tool for remote access, it is also a common target for cyber-attacks. By default, RDP uses port 3389, which is widely known and often scanned by malicious actors. Changing the RDP port can significantly enhance your server&#8217;s security by reducing the risk of unauthorized access.</p>
<p>Changing the default RDP port adds an additional layer of security through obscurity. Although not a foolproof security measure, it can deter automated attacks and reduce the attack surface. This simple adjustment can be particularly beneficial for servers exposed to the internet, where the volume of port scans is high.</p>
<p>Additionally, altering the RDP port can help in managing network traffic more efficiently. By using a non-standard port, you can avoid conflicts with other services and improve the overall performance and reliability of your server environment.</p>
<h2>Step-by-Step Guide to Changing the RDP Port</h2>
<p>Changing the RDP port involves a few straightforward steps that can be completed with administrative privileges on the server. Below is a detailed guide to help you through the process:</p>
<ul>
<li>Open the Windows Registry Editor by typing <code>regedit</code> in the Run dialog box.</li>
<li>Navigate to the following registry subkey: <code>HKEY_LOCAL_MACHINESystemCurrentControlSetControlTerminal ServerWinStationsRDP-Tcp</code>.</li>
<li>Find the <code>PortNumber</code> entry, right-click it, and select <strong>Modify</strong>.</li>
<li>Select <strong>Decimal</strong> and enter the new port number. Ensure it is not already in use or reserved by other applications.</li>
<li>Close the Registry Editor and restart the server for the changes to take effect.</li>
</ul>
<p>After changing the port, remember to update any firewall rules or security groups to allow traffic through the new port. This ensures that remote connections can still be established without interruptions.</p>
<h2>Best Practices for Selecting a New RDP Port</h2>
<p>When choosing a new port for RDP, consider the following best practices to ensure both security and functionality:</p>
<ul>
<li><strong>Avoid Common Ports:</strong> Steer clear of commonly used ports such as 80, 443, or 22 to prevent potential conflicts and avoid attracting unwanted attention from attackers.</li>
<li><strong>Use High-Numbered Ports:</strong> Opt for ports above 1024, as these are less likely to be used by other services. Ports in the range of 49152 to 65535 are generally considered safe for custom applications.</li>
<li><strong>Regularly Update Port Configurations:</strong> Periodically review and update your port configurations to adapt to changing security landscapes and maintain optimal server security.</li>
</ul>
<p>By adhering to these practices, you can effectively minimize security risks and maintain a robust remote access setup.</p>
<h2>Troubleshooting Common Issues After Changing the RDP Port</h2>
<p>After changing the RDP port, you may encounter connectivity issues. Here are some common problems and their solutions:</p>
<ul>
<li><strong>Firewall Blocks:</strong> Ensure that your firewall settings are updated to allow traffic on the new port. Check both server-side and network-level firewalls for any rules that might block the new port.</li>
<li><strong>Incorrect Port Configuration:</strong> Double-check the registry settings to confirm that the correct port number has been entered. Any discrepancies can prevent successful remote connections.</li>
<li><strong>Network Address Translation (NAT) Issues:</strong> If your server is behind a NAT device, ensure that port forwarding is configured correctly to direct traffic from the external network to the new RDP port on your server.</li>
</ul>
<p>If these solutions do not resolve the issue, consider consulting your network administrator or IT support team for further assistance. Proper troubleshooting can help restore seamless remote access while maintaining the security benefits of a non-standard RDP port.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://rackset.com/learn/server/how-to-change-remote-desktop-port/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
