1. Open the JBoss Folder
2. Goto its Deploy folder.
3. Goto the jbossweb-tomcat55.sar
4. Find out the server.xml inside that folder. Actually this is the server configure file of the BuildIn Tomcat.
5. Find the folowing Tag
<Connector port="8080" address="${jboss.bind.address}"…….
6. Change the port number here.
7. Restart the server.
Jboss預設只能以127.0.0.1本機存取,如要改變binding address,啟動時指令如下:
run -c default -Djboss.bind.address=0.0.0.0
用run -h可查看help