question

Adminifrustrated-5762 avatar image
0 Votes"
Adminifrustrated-5762 asked LeilaKong-MSFT answered

Windows Server 2019 - RDS Port Requirements

For RDS setup for Windows Server 2019 are there any changes in port requirements from previous versions? I have only come across the following documentation which is titled RDS 2012. Seems like it still applies to 2019 and maybe the title of the article just needs updated. Any clarification would be appreciated.

https://social.technet.microsoft.com/wiki/contents/articles/16164.rds-2012-which-ports-are-used-during-deployment.aspx

remote-desktop-services
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

LeilaKong-MSFT avatar image
1 Vote"
LeilaKong-MSFT answered

Hello @Adminifrustrated-5762 ,

Remote Desktop requires TCP port 3389 to be open. It is also possible to change the listening port for Remote Desktop on your computer.
If you don't want to use 3389 externally, open a different port externally, but point it to 3389 on the IP address of the machine you want RDC on.
While the accepted answer (only TCP 3389) used to be correct at the time, it is no longer up to date. In 2012 Microsoft introduced UDP transport of RDP. Depending on your network this can drastically improve performance of your RDP session.
The only exception to the previous answer (3389) is when using Small Business Server through Remote Web Workplace. In this case the server NAT's the connection between you and server port 80 (HTTP) or 443 (HTTPS), and then to the internal computer; so only 80/443 is required.


For your reference:
https://serverfault.com/questions/12005/what-port-should-i-open-to-allow-remote-desktop
https://www.osradar.com/how-to-change-the-remote-desktop-port-in-windows-server-2019-2016/
https://docs.microsoft.com/en-US/windows-server/remote/remote-desktop-services/clients/change-listening-port


Best regards,
Leila


If the Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Crypt32 avatar image
0 Votes"
Crypt32 answered

No, there are no changes. Standard port is 3389 and RD gateway is 3391 and 443.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.