Hi,
You should do the following in domain.xml:
for GlassFish v2: look for http-listener node and change the 'address' attribute.
for GlassFish v3: look for network-listener node and add the 'address' attribute.
so it should look like this: address="1.2.3.4" in the corresponding XML node.
BTW the default GFv3 domain.xml really should have a default address attribute with 0.0.0.0 IP address...
Regards,
Peter
----- Original Message -----
From: glassfish_at_javadesktop.org
Date: Saturday, July 17, 2010 11:19 pm
Subject: How to start GlassFish with a specific IP?
To: users_at_glassfish.dev.java.net
> Hi,
>
> I want to start several [b]independent[/b] GlassFish instances on a [b]single[/b] machine -
> each with a separate IP-Address (e.g. 127.0.1.1, 127.0.1.2 etc.). How can I start GlassFish
> with a specific IP?
>
> Thanks,
> alteskind
> [Message sent by forum member 'alteskind']
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>