SOLVED

RemoteApps doesnt reflect non-defualt RD Gateway port.

%3CLINGO-SUB%20id%3D%22lingo-sub-3187983%22%20slang%3D%22en-US%22%3ERemoteApps%20doesnt%20reflect%20non-defualt%20RD%20Gateway%20port.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3187983%22%20slang%3D%22en-US%22%3E%3CP%3EI'm%20attempting%20to%20configure%20a%20remote%20desktop%20deployment%20with%20all%20the%20works.%20Due%20to%20network%20restrictions%2C%20port%20443%20is%20not%20available%20I%20need%20to%20use%20a%20non-standard%20port.%20In%20this%20case%2C%20I%20chose%20port%20444.%20This%20does%20work%20while%20using%20the%20remote%20desktop%20client%20and%20manually%20entering%20the%20port.%20But%20under%20the%20Edit%20deployment%20option%2C%20I%20can%20not%20enter%20a%20port.%20And%20I%20receive%20a%20cert%20error%20while%20trying%20to%20connect%20due%20to%20the%20default%20port%20being%20used%20by%20a%20different%20service.%20Is%20it%20possible%20to%20fix%20this%20configuration%3F%20I%20have%20used%20a%20similar%20config%20on%20server%202008%20R2%20and%20it%20lets%20me%20configure%20the%20non-standard%20port%20for%20the%20RD%20gateway%20under%20the%20RemoteApp%20config.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-3187983%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3Erds%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3Erdsh%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ERDWeb%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3218005%22%20slang%3D%22en-US%22%3ERe%3A%20RemoteApps%20doesnt%20reflect%20non-defualt%20RD%20Gateway%20port.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3218005%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F367808%22%20target%3D%22_blank%22%3E%40DeadlyGopher%3C%2FA%3E%26nbsp%3BYou%20can%20change%20it%20using%20PowerShell%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CPRE%20class%3D%22lia-code-sample%20language-powershell%22%3E%3CCODE%3ESet-RDSessionCollectionConfiguration%20%E2%80%93CollectionName%20%22Name%22%20%E2%80%93CustomRdpProperty%20%22server%20port%3Ai%3A444%22%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3E%3CA%20href%3D%22http%3A%2F%2Ftech-trainer.info%2Fhow-to-change-default-remoteapp-port%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3E(http%3A%2F%2Ftech-trainer.info%2Fhow-to-change-default-remoteapp-port%2F%3C%2FA%3E)%3C%2FP%3E%3C%2FLINGO-BODY%3E
New Contributor

I'm attempting to configure a remote desktop deployment with all the works. Due to network restrictions, port 443 is not available I need to use a non-standard port. In this case, I chose port 444. This does work while using the remote desktop client and manually entering the port. But under the Edit deployment option, I can not enter a port. And I receive a cert error while trying to connect due to the default port being used by a different service. Is it possible to fix this configuration? I have used a similar config on server 2008 R2 and it lets me configure the non-standard port for the RD gateway under the RemoteApp config.

3 Replies
best response confirmed by DeadlyGopher (New Contributor)
Solution

@DeadlyGopher You can change it using PowerShell

 

Set-RDSessionCollectionConfiguration –CollectionName "Name" –CustomRdpProperty "server port:i:444"

(http://tech-trainer.info/how-to-change-default-remoteapp-port/)

@Harm_Veenstra 

 

Thank you, I appreciate your response.

No problem, please mark my answer as solution to mark it as solved if this fixed your issue.