users@grizzly.java.net

Re: grizzlyWebServer only listen to localhost ?

From: Jeanfrancois Arcand <Jeanfrancois.Arcand_at_Sun.COM>
Date: Wed, 29 Apr 2009 20:31:40 -0400

Salut,

Survivant 00 wrote:
> I created a plain servlet into a ServletAdapter on GrizzlyWebServer
>
> GWS don't listen on the IP of the computer.. only localhost ?
>
> URL endpoint = new URL("http://142.225.35.55:5001/aaa/bbb"); //don't work
> URL endpoint = new URL("http://localhost:5001/aaa/bbb"); // fine
>
> I was expecting that both link to work by default, and if requested the
> GWS could be configured to not answer on localhost or change the
> listening NetworkInterface.
>
> is it a bug ?

with your network :-) I've just tested it and it works as expected for
me. You probably have a DNS issue or something like that.

Essaye pas ;-)

-- Jeanfrancois


>