• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Domain Address for JBOSS

 
Simpson Kumar
Ranch Hand
Posts: 261
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 (141.167.12.112), 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.
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
First, I recommend starting the app server from the command line, and not from developer studio.
See if this helps: https://community.jboss.org/wiki/JBoss42FAQ
 
Mark E Hansen
Ranch Hand
Posts: 650
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic