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 :-
My jboss is not running on port 8080, both through eclipse and also from the command prompt.
But when the same jboss is copied on a different computer it runs on port 8080. that is the reason i want to run it on a different port if that helps.
Joined: Oct 18, 2004
which JBoss version are you using. I had written above example with a view that you can change port from 8080 to another one in that server file if you want to start JBoss from eclipse. But now I tried changing that but it doesn't work that way.