This guide explains how to change the default port of jboss 5.x (which is 8080) to whatever port you want
- Open the server.xml file that corresponds to your deployment server
i.e. vi <jboss-home>/server/default/deploy/jbossweb.sar/server.xml - Find the line: <Connector protocol=”HTTP/1.1″ port=”8080″ address=”${jboss.bind.address}”
- Change port 8080 to whatever port you would like to use
- Restart jBoss