EXPECTED BEHAVIOR


Standalone TSplus Server


The port used for RemoteApp will be the "remoteapp2_port" variable value listed in the C:\Program Files (x86)\TSplus\Clients\www\software\remoteapp2.js file. 


Farm Configuration With Reverse Proxy


The RemoteApp port will be the same port used for the gateway's login page. If the user logs into the gateway using http://, the web server's configured HTTP port will be used. If the user logs into the gateway using https://, the web server's configured HTTPS port will be used. The web server port information can be seen in the AdminTool > Web > Web Server screen.


Farm Configuration Without Reverse Proxy


The RemoteApp port used will be the value listed under "RDP Port" in the farm configuration for the application server on the gateway. To see this value, navigate to the AdminTool > Farm screen on the gateway, highlight the application server you want to check, and click the edit button.



TROUBLESHOOTING


To see which port that the RemoteApp is trying to use, do the following:

  1. Attempt to connect via RemoteApp using the HTML5 login page
  2. On the computer you attempted to connect from, open File Explorer and open this file in a text editor: C:\Users\<USERNAME>\RDP6\Session.rdp.
  3. The variable "server port" in this document will be the port that was used (see screenshot)


If the RemoteApp client did connect successfully, and you want to see which port it connected on, do the following:

On the computer used to connect to RemoteApp, open a command prompt and run the following command: 

netstat -ano | findstr <IPADDRESSOFYOURSERVER>

Just replace the <IPADDRESSOFYOURSERVER> placeholder with the IP address of your server. If you are using a farm with a proxy, the IP Address would be that of your gateway. If you are using a farm without a proxy, the IP address would be for your application server (if you are not sure which application server, check Session.rdp - see above)