This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
I have done a web application running in my local machine with JBOSS AS 5.0.1, this application is running with 127.0.0.1/localhost but i want to run the application with my system IP address (220.127.116.11), how can we configure it?
We are using jbossdeveloper studio, in JBOSS server overview I changed the host name to IP address but I get the following exception
How can we solve this issue? We would like to test the application in different computers in the same network.
The JBoss run script (run.bat/run.sh) takes a -b 0.0.0.0 command-line option, which is used to specify the IP address against which the services should listen. The value "0.0.0.0" is meant as the "all interfaces" address.
I don't know if you can pass this when starting the application server from within the IDE, so you may have to start it manually from outside the IDE.