Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to change default port

 
S.L.Narayanan
Ranch Hand
Posts: 431
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all
I have installed JBOSS in my system and tried to start that. But while starting I am getting a java.net.BindException saying that Port:8080 already in use. I am not running anyother server and I have restarted several times. But the exception persists. I couldnt locate the process that is using the port through Task Manager. Now is there any way to change the JBoss's port from 8080 to some other port, so that I will be able to run it?.
 
Sanju Thomas
Ranch Hand
Posts: 243
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can change the http port of jboss from jboss-service.xml file, if you are using JBoss 3 then it is in jboss_home/server/default/deploy/jboss-tomcat/META-INF. there you can see http port, you chage it, in JBoss for i think it is in deploy directory it slef, Please check with the JBoss installation. I think there is IIS running in your machine in 8080 port, you can stop it from there services of windows. Either of the option will help you.
[ July 18, 2005: Message edited by: Sanju Thomas ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic