by Jeremy Canfield | Updated September 16th, 2017
~]# $tomcat_home/bin/shutdown.sh . . . Tomcat stopped.
In the $tomcat_home/conf/server.xml file, change the port from 8080 to you preferred port. In this example, the port is changed to 12345.
<Connector port="12345" protocol="HTTP/1.1" . . .
~]# $tomcat_home/bin/startup.sh . . . Tomcat started.
Tomcat can now be accessed using the new port.