Description

In some instances, servers' IP addresses are dynamic. In such cases, the G-Repository server will be launched with a different IP address. However, the G-Repository Clients will still be configured to the previous IP address on which the G-Repository server was running. This article defines the syntax for updating the G-Repository Server URL/IP in the G-Repository Client Setup. 


Command to Change Server URL/IP

Syntax: -grcltcsurl <serverIP>

Example: genrocket -grcltcsurl 192.168.100.10


Usage Example

>genrocket -grcltcsurl 192.168.100.10

GenRocket Runtime belongs to https://app.genrocket.com

GenRocket Runtime Version: 3.5.42

GenRocket Version: 3.5.42.1

GenRocket Engine Version: 3.5.42.1

GenRocket Generator Runtime Version: 3.5.42.1

GenRocket Receiver Runtime Version: 3.5.42.1

GenRocket GRepositoryClient Runtime Version: 3.5.42.1

GenRocket GRepositoryServer Runtime Version: 3.5.42.1

Updating Repo BankDemo, from 192.168.101.11 to 192.168.100.10.


Possible Errors

If a client repo base is not present on the machine, you will receive the following command line error: 

File not found: <Path to repositorybase.properties.gref>