April 18, 2008

Assigning JBoss a server name besides localhost

I had just installed JBoss Application Server 4.2.2.GA and deployed my app using Eclipse on Mac OSX 10.5.2 Leopard. However, I could only get to it using http://localhost:8080/

If I used the domain name of the server, or just its IP number it would say page not found.. so i assumed this meant the firewall was blocking it.. but disabling the firewall didn’t help.

two hours later after looking through a lot of boards and trying a lot of things, I found that you have
to specifically bind the IP address of the server to JBoss when you start the run.sh script using the -b flag

./run.sh -b mydomain.com

and thus it worked.

No Comments

No comments yet.

RSS feed for comments on this post.

Sorry, the comment form is closed at this time.