Changing the REST API port on Symantec Protection Engine
search cancel

Changing the REST API port on Symantec Protection Engine

book

Article ID: 266346

calendar_today

Updated On:

Products

Protection Engine for Cloud Services Protection Engine for NAS

Issue/Introduction

Following the installation of Symantec Protection Engine, you need to change the default REST API port.

Environment

SPE 9.x

Resolution

Perform the following steps to change the SPE's REST API port:

  1. With a text editor open the application.properties file:
    • Windows (default location): 
      C:\Program Files\Symantec\Scan Engine\RestAPI
    • Linux (default location): 
      /opt/SYMCScan/RestAPI
  2. Modify the following line and change the value to the desired port number:
    server.port=8008
  3. Restart the SPE services:
    • Windows (administrative command line):
      net stop symcrestapiservice
      net start symcrestapiservice
    • Linux:
      /etc/init.d/symcrestapiservice stop
      /etc/init.d/symcrestapiservice start

Additional Information

For other values that are present in the application.properties file, see: REST API application properties