How to change the incoming port for connecting Safetica Client to Safetica Management Service

Information in this article applies only to Safetica hosted on-premises.

Temporarily changing the incoming port for Safetica Client connections to Safetica Management Service can be helpful during database migrations, database file transfers, or database tasks in general. Follow the steps below to change the port.

 

How to change the incoming port

  1. On the server with Safetica Management Service, open the command prompt as administrator.
  2. Navigate to the C:\Program Files\Safetica Management Service folder.
  3. Stop the Safetica Management Service:
    • Run the script: stop.bat.
  4. Set the new incoming port (e.g., 44555):
    • Enter this command to change the port via which Safetica Client connects to Safetica Management Service: STAService.exe -clientport 44555
  5. Restart Safetica Management Service:
    • Run the script: restart.bat

To revert the incoming port back to its default value (usually 4438), you have to perform these steps again.