Windows Server 2016 Essentials Experience RD Gateway Port

Hugo Lyppens 1 Reputation point
2021-12-17T18:24:33.483+00:00

I have Windows Server 2016 Essentials Experience installed and want to access LAN hosts from WAN via RDP.

Port 443 is already in use in my WAN router, so I forwarded port 4343 to my Windows Server 2016. I was able to change RD Gateway port number to 4343 from 443 on the server. Now when I use Remote Web Access to access LAN hosts from the WAN via RDP, it downloads a .rdp file. Unfortunately, this .rdp file has gatewayhostname without the updated port number (still defaults to 443). How can I fix this so the rdp file generated by Wssg.Web.RDP.dll assembly also has the correct port number in it? Now I have to tell users to add :4343 to the gatewayhostname for the remote desktop session to connect properly.

Windows for business | Windows Server | User experience | Other
{count} votes

2 answers

Sort by: Most helpful
  1. Anonymous
    2021-12-17T18:40:40.48+00:00

    Generally, client side you would use servername:4343 or ipaddress:4343

    --please don't forget to upvote and Accept as answer if the reply is helpful--

    0 comments No comments

  2. Anonymous
    2021-12-17T19:08:59.427+00:00

    Open the RDP file with notepad.exe then find and edit the line
    gatewayhostname:s:my.gateway.server:4343
    https://kommelsson.wordpress.com/2016/04/20/change-remote-desktop-gateway-port-and-remote-web-app-port/

    --please don't forget to upvote and Accept as answer if the reply is helpful--


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.