aspose file tools*
The moose likes JBoss/WildFly and the fly likes Associate an IP address with a specific appBase Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Associate an IP address with a specific appBase" Watch "Associate an IP address with a specific appBase" New topic
Author

Associate an IP address with a specific appBase

Monica Jia
Greenhorn

Joined: Jul 23, 2007
Posts: 4
Hi,

Since JBoss 4.2.1 doesn't support "appBase" attribute in "Host" element, I am wondering if there is any way to specify a web app's context path to a certain IP address? So a web app can only be accessed through certain IP address instead of all IPs for the server.

Thanks.
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10202
    
166

While starting JBoss, you can specify the IP address to which the services are bound. Something like:



You can then access the server with this IP address. However i am not sure (rather haven't tried) to see whether this prevents access to the server, when accessing it using its other IP address.
[ July 24, 2007: Message edited by: Jaikiran Pai ]

[My Blog] [JavaRanch Journal]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Associate an IP address with a specific appBase