How to change the port for the SymRestAPIService on SPE 9.0.x
search cancel

How to change the port for the SymRestAPIService on SPE 9.0.x

book

Article ID: 266346

calendar_today

Updated On:

Products

Protection Engine for Cloud Services Protection Engine for NAS

Issue/Introduction

During re-install, Support requested that the default port value for the Symantec REST API service of Protection Engine, 8008, be used for initial configuration. Following successful testing of SPE ability to scan a file, the administrator sought to change the port back to their specified port of 6000.

 

Environment

Release : 9.0.0

OS: RedHat Linux 

Resolution

Steps taken as root in bash CLI:

> cd /apps/SYMCScan/SymRestAPI

> less application.properties

press v to enter vi from less

change 8008 to 6000 in vi

:wq                # <-to write application.properties and quit from vi

q                    # <- to quit less

> /etc/init.d/symcrestapiservice stop

> /etc/init.d/symcrestapiservice start

> netstat -an | grep 6000    # <--- this is to prove we're listening on the new port

 

Additional Information

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

https://techdocs.broadcom.com/us/en/symantec-security-software/endpoint-security-and-management/symantec-protection-engine/9-0-0/SPE-REST-APIs/rest-api-service-properties.html