I've just "installed" JBoss on a linux box and am confused about changing the port Tomcat runs on. There is already something running on port 8080 and I can't seem to figure out or google how to change the port over to something else. I managed to change the port for the Naming service from 1099 to 1100 easily enough.
Do I have to edit server/default/deploy/jboss-ws4ee.sar/META-INF/jboss-service.xml or is this done somewhere else?
Thanks in advance
Paulo Murphy de Freitas
posted 11 years ago
I've just found out how to solve this so I'll reply to my own post
Need to edit the server/default/deploy/jbossweb-tomcat50.sar/server.xml file under your JBoss installation directory and change the <Connector port="8080" ... to whatever port you want Tomcat to run on, remembering not to conflict with other ports used by the JBoss bundle or any services running on the machine.