1. Goto the deploy folder of the server instance you use. (ie default): C:\jboss-4.2.3.GA\server\default\deploy\jboss-web.deployer
2. Find the file named server.xml inside that folder.
3. Look for the HTTP Connector section inside the server.xml where 8080 configuration is available. Change the port value to what ever the required port number:
<Connector port="8080" address="${jboss.bind.address}"
maxThreads="250" maxHttpHeaderSize="8192"
emptySessionPath="true" protocol="HTTP/1.1"
enableLookups="false" redirectPort="8443" acceptCount="100"
connectionTimeout="20000" disableUploadTimeout="true" />
PD. This change wiill be available when JBoss is restarted.
Reference:
http://lkamal.blogspot.com/2006/09/jboss-4-how-to-change-port-8080-in.html
2. Find the file named server.xml inside that folder.
3. Look for the HTTP Connector section inside the server.xml where 8080 configuration is available. Change the port value to what ever the required port number:
<Connector port="8080" address="${jboss.bind.address}"
maxThreads="250" maxHttpHeaderSize="8192"
emptySessionPath="true" protocol="HTTP/1.1"
enableLookups="false" redirectPort="8443" acceptCount="100"
connectionTimeout="20000" disableUploadTimeout="true" />
PD. This change wiill be available when JBoss is restarted.
Reference:
http://lkamal.blogspot.com/2006/09/jboss-4-how-to-change-port-8080-in.html