The default packaging of the OpenIAM CE version runs on port 8080. To change the port on which Tomcat run, follow the steps below:
Server.xml
Update the connector port server.xml file, found in the apache-tomcat-6.0.30/conf directory. In this example we have updated it so that Tomcat runs on port 80.
Datasource.properties
Datasource.properties file can be found at: apache-tomcat-6.0.30/lib directory. Edit the file using a text editor and update the following values to reflect that new port.
- openiam.service_base=localhost:<NEW PORT>
- openiam.service_host=http://localhost:*<NEW PORT>/*
Labels: