Changing the listening port
The default listening port for the CLC Server is 7777. This has been chosen to minimize the risk of collisions with existing web-servers using the more familiar ports 80 and 8080. If you would like to have the server listening on port 80 in order to simplify the URL, this can be done in the following way.
- Navigate to the CLC Server installation directory.
- Locate the file called server.xml in the conf directory.
- Open the file in a text editor and locate the following section
<Connector port="7777" protocol="HTTP/1.1" connectionTimeout="20000" redirectPort="8443" />
- Change the port value to desired listening port (80 in the example below)
<Connector port="80" protocol="HTTP/1.1" connectionTimeout="20000" redirectPort="8443" />
- If you will be using Genomics Analysis Portal, create a file named gap-config.properties in the CLC Server installation directory. In that file, put the text
server.port=<port>
. For example, for port 80:server.port=80
- Restart the service for the changes to take effect. See Starting and stopping the server).
- After restarting, log into the web administrative interface and change the default port number in the "Master node port" field under Admin | Job distribution | Server setup, and then click on Save Configuration button to save the new setting.