Re: getRemoteAddr() returns IPv6 instead of IPv4

2007-03-15 Thread jt
> | When I make a request.getRemoteAddr() I receive an IPv6 address while I > | want the IPv4. > > Is the request coming across an IPv6 interface? If so, I don't know that > you can get an IPv4 address (without calling getRemoteHost() and doing a > reverse DNS lookup, anyway). OK, I figured it o

RE: getRemoteAddr() returns IPv6 instead of IPv4

2007-03-14 Thread Nelson, Tracy M.
| From: jt [mailto:[EMAIL PROTECTED] | Sent: Tuesday, 13 March, 2007 13:11 | | When I make a request.getRemoteAddr() I receive an IPv6 address while I | want the IPv4. Is the request coming across an IPv6 interface? If so, I don't know that you can get an IPv4 address (without calling getRemoteH

getRemoteAddr() returns IPv6 instead of IPv4

2007-03-14 Thread jt
Hello, I'm using tomcat 5.5.20 with jdk 1.5 under Kubuntu 6.10 (linux 2.6.17-10) with no particular configuration. When I make a request.getRemoteAddr() I receive an IPv6 address while I want the IPv4. Is this behaviour related to my environment (OS), jdk, tomcat or to some mis- configuration ?