Monday, 28 November 2011

How to Change the ICA Port Number Assignment

Use the ICAPORT utility from a command prompt. The output of ICAPORT /? is shown below:
Change value of TCP/IP port for ICA Terminal Sessions.
/QUERY Query current setting.
/PORT:num Change the TCP/IP port to 'num'.
/RESET Reset the TCP/IP port to 1494.
The value of the port number is stored in hex at the following registry DWORD value:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\ICA-tcp

Type ICAPORT /PORT:XXX where XXX represents the port number from 0 to 65535.
2. Restart the XenApp server for the change to take effect.
3. Modify the necessary client connection parameters to connect to the server on the new port number. For example, add :XXX after the server address or published application name, where XXX is the assigned port number established in Step 1.
NOTE: Running ICAPORT /RESET sets the port back to the default value of 1494.

No comments:

Post a Comment