The i2b2 recommends you use the default port of 9090 for your http connection and 9009 for your AJP 1.3. If these ports are unavailable because another application is using them then you will need to edit the standalone.xml file to reconfigure them. This file is located in the following directory:
YOUR_JBOSS_HOME_DIR\standalone\configuration\standalone.xml
The two items to change in the standalone.xml file are:
1. Change the non-SSL HTTP/1.1 Connector to a port that is available in your system. (example shown below)
<socket-binding name="http" port ="8080" />
2. Change the AJP 1.3 Connector to another port that is available in your system. (example shown below)
<socket-binding name="ajp" port ="8008" />
Warning
The i2b2 install scripts are using port 9090 for Wildfly. Therefore if you are changing the above ports in your standalone.xml file then you will need to make the same port changes to all the install scripts.