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 Java 8 in Action this week in the Java 8 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: 9340
    
110

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]
 
 
subject: Associate an IP address with a specific appBase
 
Similar Threads
Web Activity Statistics.
allowing only certian urls access to web app
regarding ip address and website
how to get the client's bowser URL who's hitting your service from ajax call?
Dynamically building web content using XML file(s)