You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Mohsen Saboorian <mo...@gmail.com> on 2006/08/23 07:41:20 UTC

Different request.getLocalName() values

Hi,
I tested request.getLocalName() on two different WinXP machines, one
returning "127.0.0.1" and the other "localhost".
What is the problem?

Thanks in advance.

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Different request.getLocalName() values

Posted by Mohsen Saboorian <mo...@gmail.com>.
Thank you Mark.

On 8/23/06, Mark Thomas <ma...@apache.org> wrote:
> Mohsen Saboorian wrote:
> > Hi,
> > I tested request.getLocalName() on two different WinXP machines, one
> > returning "127.0.0.1" and the other "localhost".
> > What is the problem?
>
> No problem, just different configurations. Check:
> - DNS config
> - contents of C:\WINDOWS\system32\drivers\etc\hosts
>
> HTH,
>
> Mark
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Different request.getLocalName() values

Posted by Mark Thomas <ma...@apache.org>.
Mohsen Saboorian wrote:
> Hi,
> I tested request.getLocalName() on two different WinXP machines, one
> returning "127.0.0.1" and the other "localhost".
> What is the problem?

No problem, just different configurations. Check:
- DNS config
- contents of C:\WINDOWS\system32\drivers\etc\hosts

HTH,

Mark

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org