> From: Johnny Kewl [mailto:[EMAIL PROTECTED] 
> Subject: Re: IPv6 address in hostname
> 
> To elaborate a little more, as soon as I install IPV6 on
> XP SP2 running Tomcat 5.5.17 ALL address's seem to map to
> LOCALHOST.... and they ALL work.

As they should, since the name attribute on a <Host> element has nothing
at all to do with IP addresses.  It is used only to symbolically match
the host portion of an incoming URI to an appropriate <Host> element in
server.xml; if no match is made, the request is given to the default
host declared on the <Engine> element.

If you want to control IP addresses, set them on the <Connector>
element.  When no addresses are specified, a <Connector> binds to
0.0.0.0 (and the IPv6 equivalent, if that's in use), and can accept
requests over any interface.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

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

Reply via email to