Changing default RDS Web Access port

Bojan Zivkovic 21 Reputation points
2021-01-23T12:51:54.017+00:00

Hi, is it possible to change default RDS Web Access port from 443 to lets say 444 since I want to use port 443 for other application and network team has already allowed all VLANs to access port 443 (primary reason to occupy 443 by other application). If so what is procedure? Thanks in advance.

Windows for business Windows Client for IT Pros User experience Remote desktop services and terminal services
{count} votes

2 answers

Sort by: Most helpful
  1. Anonymous
    2021-01-25T04:12:04.533+00:00

    Hi,

    If you have RD Gateway server on your RDS deployment, you can change the port using RD Gateway Manager.

    Open RD Gateway Manager (Server Manager>Tools>Remote Desktop Services>Remote Desktop Gateway Manager):

    1. Right-click the Remote Desktop Gateway server name and select Properties.
    2. Select the Transport Settings tab.
    3. Modify the HTTPS port number and click OK.
      59958-image.png

    You can also use PowerShell Command to change the port. On your RDCB server, run below PowerShell Commands:

    Import-Module RemoteDesktop

    Set-RDSessionCollectionConfiguration -CollectionName “MySessionCollection” -CustomRdpProperty “gatewayhostname:s:my.gateway.server:4343

    You should chnage the Italic part based on your own environment.

    If you have no RD gateway, please try using IIS Manager to change the port.

    On the RD Web Server open IIS Manager (Server Manager>Tools>IIS Manager):

    1. Click the RD Web server name to see “Sites" folder and expand "Sites".
    2. Click Default Web Site and click "Bindings" on the right pane
      60051-image.png
    3. Click https and edit the port.
      59930-image.png

    Thanks,
    Eleven

    ----------

    If the Answer is helpful, please click "Accept Answer" and upvote it. Thanks.

    0 comments No comments

  2. Maros Maruan Poliak 1 Reputation point
    2021-12-27T22:42:01.853+00:00

    If I have not RD Gateway on my computer, how can I change UDP port transport settings? Bcs. I can access remote app main page, but I can not open app (remote computer cannot be foudn) :( I use different port for RDP on that computer.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.