Changing the Port that Crowd uses
By default, Crowd is configured to use port 8095. If this port is already in use within your network, you will need to change the port that Crowd uses.
Follow these steps:
Change the Ports which Crowd Listens On
Default <Crowd-Installation>/apache-tomcat/conf/server.xml file<Server port="8020" shutdown="SHUTDOWN"> <Service name="Catalina"> <Connector acceptCount="100" connectionTimeout="20000" disableUploadTimeout="true" enableLookups="false" maxHttpHeaderSize="8192" maxThreads="150" minSpareThreads="25" port="8095" redirectPort="8443" useBodyEncodingForURI="true" URIEncoding="UTF-8"/> ...
Modified <Crowd-Installation>/apache-tomcat/conf/server.xml file - using server port 8021 and connector port 8093<Server port="8021" shutdown="SHUTDOWN"> <Service name="Catalina"> <Connector acceptCount="100" connectionTimeout="20000" disableUploadTimeout="true" enableLookups="false" maxHttpHeaderSize="8192" maxThreads="150" minSpareThreads="25" port="8093" redirectPort="8443" useBodyEncodingForURI="true" URIEncoding="UTF-8"/> ...
- Edit the
build.properties
file, as described in Important Directories and Files.- Change the
crowd.tomcat.connector.port
to the new port on which the Crowd Administration Console will be accessed. - Change the
crowd.url
property to the new port on which the Crowd Administration Console will be accessed. - Change the
demo.url
property to the new port on which the Crowd 'demo' application will be accessed.
- Change the
Run the
build.sh
(orbuild.bat
) script, as described in Important Directories and Files.Change your Crowd Server Base URL to reflect the port changes as per outlined in our How To Change The Crowd Base URL KB.
e.g. in this case, the updated Crowd's Server Base URL would be
http://localhost:8093
RELATED TOPICS
- Supported Platforms
- Install Crowd
- Running the Setup Wizard
- Configuring Crowd