Changing the port of GitProtect Management Service
Windows
JSON file
Changing the port number on Windows via JSON file:
Navigate to the Management Service installation folder. By default it's:
C:\Program Files\Xopero ONE Backup&RecoveryOpen the appsettings.json file in a text editor.
Make the following changes:
Rename the section
"commented_out_Kestrel"to"Kestrel".Change the port number by modifying the
"Url"parameter. For example, replace:"http://*:5000"with your desired port number (replace only the numeric value).
Save the changes.
Restart GitProtect to apply the new port settings.
Registry Editor (regedit)
Changing the port number via Windows Registry Editor:
Open regedit.msc.
Navigate to the following key:
Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\XoperoONEManagementServiceIn the
ImagePathvalue, modify the numerical value of the--urlsparameter to your desired port.Save the changes and restart GitProtect Backup&Recovery to apply the new port settings.
Linux
Changing the port number on Linux via systemd:
Open the file:
/etc/systemd/system/XoperoONEManagementService.serviceIn the
[Service]section, edit the ExecStart line and replace28555with your desired port number.ExecStart=/opt/XoperoONEManagementService/ManagementService --urls "http://*:28555"Reload the systemd configuration:
systemctl daemon-reloadRestart the Management Service to apply the change:
systemctl restart XoperoONEManagementService.service
Last updated

