how to change the default port to run JBoss.
To change default port of JBoss while running from eclipse, change the server file in C:\eclipse\plugins\com.objectlearn.jdt.j2ee_3.0.1\servers directory where home directory for eclipse is c:\eclipse which in your case might be something else. In that file you will find following :-
<property id="serverPort"
label="Port:"
type="string"
default="8080" />
Here you can change port.