users@glassfish.java.net

Re: how to get glassfishv3 to listen on a single ip?

From: Jeanfrancois Arcand <Jeanfrancois.Arcand_at_Sun.COM>
Date: Fri, 21 Nov 2008 14:04:29 -0500

Salut,

Corey wrote:
> I've got a box w/ two nic's and two ip's - I want to configure glassfish
> to bind to only one of the two ip's, but have not been successfull in
> trying to do so.
>
> From my domain.xml:
>
> <http-listener id="http-listener-1" port="8080" enabled="true"
> address="192.168.0.5" default-virtual-server="server" server-name="" />
>
> main ~ # netstat -tpnl | grep 8080
> tcp 0 0 0.0.0.0:8080 0.0.0.0:* LISTEN 17318/java
>
> I've tried a few other things, but it appears as though no matter what,
> the app server takes hold of 0.0.0.0, i.e., _every_ ip on the box.

Smell like a bug. Can you log an issue here:

https://glassfish.dev.java.net/servlets/ProjectIssues

Looks like Grizzly is not getting properly the information.

Thanks!

-- Jeanfrancois

>
> Any and all clues are much appreciated!
>
> ( I would also like to do the same for the administration console - to
> have bind to a single ip, instead of all of them )
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>