Running JBoss5 on Port 80

The default port of JBOSS is 8080. Clients having to access it will place something like this in the URL or http://somedomain:8080
Assuming you want it to eliminate the 8080 in the URL, you have to change the server setting of JBoss

You have to edit the file $JBOSS_HOME/server/default/deploy/jbossweb.sar/server.xml
where $JBOSS_HOME is the directory where your JBoss is, in FreeBSD it is /usr/local/jboss5 (installed via ports)

1. Look for the line
<Connector protocol="HTTP/1.1" port="80" address="${jboss.bind.address}"
connectionTimeout="20000" redirectPort="8443" >

2. change 8080 to 80

3. Restart your JBOSS server

Then you can access it without the :8080 on the URL


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s