How to change the port of GitProtect Management service?
Windows
JSON file
Navigate to the Management Service installation location - by default: C:\Program Files\Xopero ONE Backup&Recovery.
Modify the appsettings.json file by making the following changes: Rename the section "commented_out_Kestrel" to "Kestrel", Change the port number by replacing the numerical value in the "Url" parameter: "http: // *: 5000" with the desired number.
Restart the Xopero ONE Backup&Recovery service to confirm the change.
Registry
Open Regedit.
Find the following key: Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\XoperoONEManagementService
In the ObjectPath modify --urls parameter numerical value with desired port.
Linux
Modify the /etc/systemd/system/XoperoONEManagementService.service file by making the following changes: Change the port number in the [Service] section by editing the parameter ExecStart = /opt/XoperoONEManagementService/ManagementService --urls "http:// *: 28555" with the desired number.
Reload the systemd configuration with the command: systemctl daemon-reload
Restart the Management Service service to confirm the change: systemctl restart XoperoONEManagementService.service
Last updated