Consultor Eletrônico



Kbase P84: How To Change the Port Number When the 9.x Admin Server is R
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   29/01/2004
Solution ID: P84

GOAL:

How To Change the Port Number When the 9.x Admin Server is Running on Windows?

GOAL:

The AdminServer runs on port 20931 on Windows NT systems by default and is started automatically as an NT service.

FACT(s) (Environment):

Windows NT 32 Intel/Windows 2000

FIX:

To change the port that the AdminServer uses on Windows NT, use the following steps:

1. Go to the Control Panel / Services. Make sure you stop your AdminServer service.

2. Run regedit. You will have to add the -port argument along with the port number to the startup and shutdown entries in your Registry.

The registry keys are:

   HKEY_LOCAL_MACHINE\SOFTWARE\PSC\AdminService\(version of prog.)\StartupCmd

    HKEY_LOCAL_MACHINE\SOFTWARE\PSC\AdminService\(version of Prog.)\ShutdownCmd

An example of the 'edit string' in your Registry would be:

   "C:\V9\bin\jvmstart" -o eventmgr -w @{WorkPath}
    @{JAVA\JREHOME}\bin\jre -classpath
    @{JAVA\JRECP};@{JAVA\PROGRESSCP}
    -DInstall.Dir=@{Startup\DLC} -DWork.Dir=@{WorkPath}
    com.progress.chimera.adminserver.AdminServer -port 20555

Notice that the -port 20555 has been added to the end of the string. Be careful when you edit the registry key manually. You should not change the other parameters in this registry key, unless instructed to do so, or your AdminServer might not start up again.