Appendix A.Changing the Port Numbers

Download PDFEdit

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

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

A.1Changing the Service Port Numberservice port

The default value of the service port number is 1975service port:1975. If you want to change the port number, then open up the 3RABBITZ_HOME/tomcat/conf/server.xmlserver.xml{c} 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.

A.2Changing the Shutdown Port Numbershutdown port

The default value of the shutdown port number is 5791shutdown port:5791. If you want to change this port number, then open up the 3RABBITZ_HOME/tomcat/conf/server.xmlserver.xml{c} 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.