Symantec.com > Norton > Support > Solutions Library


How to change the pcAnywhere 9.x IP ports

STEP 1
  Print this page

We suggest that you print this page before you start. PRINT

STEP 2
  Create the .reg file
Warning Warning In the next steps you will edit the Windows registry. Back up the registry before you make any changes to it, because incorrect changes to the registry can result in permanent data loss or corrupted files. Delete only the specified registry key.
For instructions, read Backing up the Windows registry.
1
Click Start > Run.
2
Type the following in the run dialog box:
regedit
3
Click OK.
4
Navigate and select the following key:
 HKEY_LOCAL_MACHINE\SOFTWARE\Symantec\pcAnywhere\CurrentVersion\System
5
In the Registry menu, click Export Registry File.
 The Export Registry File window appears.
6
Enter a file name, and save the file to the desktop.
 For example, 5631.reg for the standard port numbers, or any significant name.
7
Close the registry and navigate to the newly created .reg file.
8
Right-click the file and click Edit (left-click will import the file back to the registry).
9
Delete all but the following lines:
 REGEDIT4
 [HKEY_LOCAL_MACHINE\SOFTWARE\Symantec\pcAnywhere\CurrentVersion\System]
"TCPIPDataPort"=dword:000015ff
"TCPIPStatusPort"=dword:00001600
10
Save and close the file.
STEP 3
  Convert the value of the port your want to use to hexadecimal
1
Click Start > Programs > Accessories > Calculator.
2
Click View > Scientific.
3
Click the Decimal radio button.
4
Type the decimal value of the port you want to use. 
5
Click the Hexadecimal radio button.
 The value is converted.
 For example, the default pcAnywhere port numbers are 5631 (DataPort or TCP) and 5632 (StatusPort or UDP).
The hexadecimal values of these ports are 15FF and 1600, respectively. In this case, 5631 is converted to 15FF h and 5632 is converted to 1600 h. (The "h" indicates that the value is in hexadecimal format, though this is not needed in the registry).
6
Exit Calculator.
STEP 4
  Create a .reg file to change pcAnywhere to the new set of ports
1
Copy the default .reg file and rename the new copy.
2
Right-click the new .reg file and click Edit.
3
Change the DWORD value for each port.
 You must replace them with the hexadecimal values of the new port numbers.
 For example, you create a new .reg file to change the pcAnywhere ports to 5641 (TCP) and 5642 (UDP). The hexadecimal values of these ports are 1609 and 160A, respectively. The contents of a .reg file with these values will look like this:
 REGEDIT4
 [HKEY_LOCAL_MACHINE\SOFTWARE\Symantec\pcAnywhere\CurrentVersion\System]
"TCPIPDataPort"=dword:00001609
"TCPIPStatusPort"=dword:0000160a
4
Save and close the file.
 Repeat this process for as many hosts or remotes as required.
5
To change the port values of pcAnywhere, double-click this file.
 This imports the new values into the registry.

 

Available Translations:


Document ID: 1999110411575512
Last Modified: 11/07/2006
Date Created: 11/04/1999
Operating System(s): Windows 95, Windows 98, Windows NT 4.0, Windows 2000, Windows Me, Windows NT3.51
Product(s): pcAnywhere 9.0