users@glassfish.java.net

Re: How to bind the Application server to IP Address

From: Chris Fleischmann <Chris.Fleischmann_at_Sun.COM>
Date: Wed, 16 Jan 2008 14:14:59 +1100

Yes, you can bind the HTTP/HTTPs and other listeners to specific
ports... In the domain.xml file (back-up first) you will see lines
*/address="0.0.0.0"/* you can alter these lines specific to your IP
address rather than 0.0.0.0 which is - listen on all interfaces.

Chris



glassfish_at_javadesktop.org wrote:
> My server's network is configured to have multiple IP Address per ethernet interface. I want to run different instances of glassfish applicaiton server on the same server, each instance bound to a different ip address.
>
> For example I can have instance-1 running on 192.158.1.1 (eth0:1) and instance-2 running on 192.158.2.2 (eth0:2) and so on.
>
> Will I be able to achieve this with glassfish? If yes can I get some pointers?
>
> Thanks,
> U
> [Message sent by forum member 'u200801' (u200801)]
>
> http://forums.java.net/jive/thread.jspa?messageID=254112
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>

-- 
<http://au.sun.com/events/techdays/index.jsp> 	*Chris Fleischmann*
Solution Architect
Software Practice
*Sun Microsystems Australia*
Level 7, 476. St. Kilda Road
Victoria  3004 Australia
Phone +61 3 9869 6452
Email Chris.Fleischmann_at_Sun.Com