I setup JBoss 4.2.2 GA on a local server of mine. I am able to access the JBoss Application Server by going to http://localhost:8080. However, I would like to use the hostname instead of localhost so that other computers on the same network can use the server as well. When I try http://hostname:8080, or even http://192.168.1.100:8080, I get a "Page Not Found" error.
Is there some setup I am missing to enable using the hostname, or even the ip address? I appreciate everyone's help.
By default, JBoss only binds to localhost. This is a security default.
The easiest way to change this is to launch JBoss with the -b flag, telling it which address to bind to, for example
run.bat -b 192.168.1.100
(or using whichever startup script you're using)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With