*How to change HTTP-API port in VDG Sense

Software Installation Article | SIA-20220117-MH-01

VDG Sense | Software Installation|

In some situations it is required to change the HTTP port which is used by Sense HTTP API for webpage, IOS/Android client and third party connectivity. By default this is accessably via port 80.

Port needs to be changed in two places, the HTTP plugin in the PLugins tab of the management server and the Nginx (engine-x) config.

Sense:

Change ‘Port’ setting in the ‘General’ settings of HTTP plugin (ex: change to port 8088) and save:

Ngnix:

Open following file: C:\Program Files\VDG Security\Sense\Software\nginx\conf\proxies\localhost-ssl.conf

And change the following 5 values from ‘80’ to the chosen port value (ex. change to port 8088) and save.

location / { proxy_pass http://127.0.0.1:8088; ... } location /info { proxy_pass http://127.0.0.1:8088; ... } location /webservice { proxy_pass http://127.0.0.1:8088; ... } location /command { proxy_pass http://127.0.0.1:8088; ... } location /plugins { proxy_pass http://127.0.0.1:8088; ... }

 

After changing values in both HTTP plugin and ngnix the services SensePluginManager and SenseNgnix need to be restarted. Also close and start SenseClient in order to see the pluginlist in the Plugins tab.

Sense Webpage

After configuration is finished webpage is accessed via port 8088

 

Related pages