Changing the Port Numbers

3Rabbitz Book uses a total of two network ports. One of them is a service port used to process a user’s request and the other is a shutdown port used to stop the 3Rabbitz Book.

3RABBITZ_HOME refers to the directory where 3Rabbitz Book is installed.

Changing the Service Port Number

The default value of the service port number is 1975. If you want to change the port number, then open up the 3RABBITZ_HOME/tomcat/conf/server.xml file and change 1975 with another number.

<Server port="5791" shutdown="SHUTDOWN">

  <Service name="Catalina">
    ...
    <Connector port="1975" protocol="HTTP/1.1"
      connectionTimeout="20000" redirectPort="8443" URIEncoding="UTF-8" />
    ...
  </Service>

</Server>

You need to restart 3Rabbitz Book if you want the newly made changes to start taking effects.

Changing the Shutdown Port Number

The default value of the shutdown port number is 5791. If you want to change this port number, then open up the 3RABBITZ_HOME/tomcat/conf/server.xml file and change 5791 with another number.

<Server port="5791" shutdown="SHUTDOWN">

  <Service name="Catalina">
    ...
    <Connector port="1975" protocol="HTTP/1.1"
      connectionTimeout="20000" redirectPort="8443" URIEncoding="UTF-8" />
    ...
  </Service>

</Server>

You need to restart 3Rabbitz Book if you want the newly made changes to start taking effects.