aspose file tools*
The moose likes JBoss/WildFly and the fly likes How to change default port Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "How to change default port" Watch "How to change default port" New topic
Author

How to change default port

S.L.Narayanan
Ranch Hand

Joined: Apr 01, 2005
Posts: 431
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?.


SCJP 1.4, SCWCD 1.4, SCBCD 1.3, NEXT--->IBM XML
Sanju Thomas
Ranch Hand

Joined: Dec 29, 2004
Posts: 243
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 ]
 
 
subject: How to change default port