dev@glassfish.java.net

Re: locahost:8080 redirect to 127.0.0.1:8080???

From: Peter Williams <Pete.Williams_at_Sun.COM>
Date: Wed, 23 Jul 2008 23:50:08 -0700

That's B15A which is Grizzly 1.8.2

I see what's happing -- in the browser, if I enter
http://localhost:8080, when the start page is displayed, the URL is
rewritten as http://127.0.0.1:8080/index.html.

If I access the server from another machine, e.g. http://papaya2:8080,
then the url is rewritten with the IP address of the server, e.g.
http://129.145.132.99:8080/index.html

I guess I can just file a bug...

-Peter

Shing Wai Chan wrote:
> Which version of grizzly do you have in your v3?
> Shing Wai Chan
>
> Peter Williams wrote:
>> When I start the server now and send a request to
>> http://localhost:8080 to load the server start page, that URL used to
>> be the one the browser kept.
>>
>> Now it appears the browser is being redirected (or the URL is being
>> rewritten?) as http://127.0.0.1:8080/index.html
>>
>> What gives? Is this a bug or is this expected behavior? AFAIK, V2
>> never worked this way, nor did V3 until a short time ago.
>>
>> -Peter
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>