• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

Domain Address for JBOSS

 
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.
 
author
Posts: 5856
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
 
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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
    Bookmark Topic Watch Topic
  • New Topic