This document describes how to change the port that the Postgres-based repository listens to.
How do I change the port that the Postgres-based repository listens to?
In Cisco Information Server (CIS) v7.0 and later, each instance of CIS deploys its own local dedicated instance of Postgres to serve as the repository platform. In cases when you wish to change the port range that CIS listens on, you might also want to change the repository port (your base HTTP + 8) as well to keep it inclusive inside that range as seen here:
HTTP base port +1 = JDBC,ODBC and ADO.NET
HTTP base port +2 = HTTP SSL
HTTP base port +3 = JDBC,ODBC and ADO.NET SSL
HTTP base port +4 = Reserved
HTTP base port +5 = Reserved
HTTP base port +6 = Monitor
HTTP base port +7 = Active Cluster/JGroups
HTTP base port +8 = Repository default
HTTP base port +9 = Monitor(reserved)
It is not required for the repository port to always be (your base HTTP + 8), but you might desire this arrangement for organizational reasons.
The repository port does not get reset when you choose a new base HTTP port in the Studio Configuration user interface. The repository port is not configurable in the Studio Configuration user interface either. However, you can manually edit the /conf/server/server_values.xml file. Look for this pair of set of tags in the .xml file:
For example, if you have reconfigured the base port of this server from 9410 to 9400, then you might also want to change the repository port from 9418 to 9408 (provided this port is available for use on this host). Edit the port in the tag as seen in the previous example. This makes CIS connect to Postgres on it's port 9408.
Now you need to make Postgres listen on port 9408 too. Edit \repository\data\postgresql.conf and modify the port as seen in this example:
port = 9418 # (change requires restart)
A restart of both Postgres and CIS is required for this to take effect.