This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
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 REST with Spring (video course) 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

How to change default port

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 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

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 ]
I agree. Here's the link:
subject: How to change default port
It's not a secret anymore!