How to Change the Default Port for GenService |
|
Contents
- SYMPTOMS
- CAUSE
- RESOLUTION
SYMPTOMS
This article shows you how to change the default port that GenService runs on. For an explanation of J-Integra for .NET's GenService tool, see the related documentation: GenService Windows Service.
CAUSE
The default port that GenService runs on is 8001. This may be in conflict with another application on the system listening or using the port. Follow the steps below to change the GenService port number.
RESOLUTION
- Open the GenService.config file which is located in the GenService installation directory. This is in C:\Program Files\J-Integra\.NET\genservice (assuming installation defaults).
- You will see a line like this:
<channel port="8001" ref="tcp" name="JaNet_GenService"/>
Simply change "8001" accordingly. Also remember that if you do this, you'll need to change the GenJava/GenNet settings appropriately to reflect this new port number.
- Finally, remember to restart the service.