You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Nitish Chitta <nc...@tibco.com.INVALID> on 2022/08/03 07:18:36 UTC

Regarding IPv6 support

Hello Team,
I wanted to know if Tomcat 7 supports requests with IPv6 addresses in the
URL as I am getting an HTTP 404 error when trying to hit the server with an
IPv6 address.

Thanks & Regards,
Nitish

Re: Regarding IPv6 support

Posted by Han Li <ao...@gmail.com>.

> 2022年8月3日 15:18,Nitish Chitta <nc...@tibco.com.INVALID> 写道:
> 
> Hello Team,
> I wanted to know if Tomcat 7 supports requests with IPv6 addresses in the
> URL as I am getting an HTTP 404 error when trying to hit the server with an
> IPv6 address.

Don’t you get a 404 error when you use an IPV4 address?

> 
> Thanks & Regards,
> Nitish


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


Re: Regarding IPv6 support

Posted by Nitish Chitta <nc...@tibco.com.INVALID>.
Thanks for all the responses.

Regards,
Nitish

On Wed, Aug 3, 2022 at 2:58 PM Konstantin Kolinko <kn...@gmail.com>
wrote:

> ср, 3 авг. 2022 г. в 10:19, Nitish Chitta <nc...@tibco.com.invalid>:
> >
> > Hello Team,
> > I wanted to know if Tomcat 7 supports requests with IPv6 addresses in the
> > URL as I am getting an HTTP 404 error when trying to hit the server with
> an
> > IPv6 address.
>
> 1. Tomcat 7 has reached  End of Life and is no longer supported.
>
> 2. If the server answers with 404 it means that it does work and can
> answer.
>
> Check your access logs (as generated by AccessLogValve) to see
>
> a.. that the server receives the requests
> b. what is the actual IP address of your client, as seen by the server.
>
> Best regards,
> Konstantin Kolinko
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

Re: Regarding IPv6 support

Posted by Konstantin Kolinko <kn...@gmail.com>.
ср, 3 авг. 2022 г. в 10:19, Nitish Chitta <nc...@tibco.com.invalid>:
>
> Hello Team,
> I wanted to know if Tomcat 7 supports requests with IPv6 addresses in the
> URL as I am getting an HTTP 404 error when trying to hit the server with an
> IPv6 address.

1. Tomcat 7 has reached  End of Life and is no longer supported.

2. If the server answers with 404 it means that it does work and can answer.

Check your access logs (as generated by AccessLogValve) to see

a.. that the server receives the requests
b. what is the actual IP address of your client, as seen by the server.

Best regards,
Konstantin Kolinko

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


Re: Regarding IPv6 support

Posted by Jason Wee <pe...@gmail.com>.
check if tomcat is listening on ipv6, using ss or netstat command.
need more details about your environment, how requests are pass to
container, etc...

On Wed, Aug 3, 2022 at 3:26 PM Nitish Chitta <nc...@tibco.com.invalid> wrote:
>
> I have done the required changes i.e added the IPv6 address to the
> connector that the server should listen on. Do I have to add any other
> property or am I missing something?
>
> On Wed, Aug 3, 2022 at 12:51 PM Jason Wee <pe...@gmail.com> wrote:
>
> > yes, it should, read here
> > https://tomcat.apache.org/tomcat-7.0-doc/config/http.html
> >
> > On Wed, Aug 3, 2022 at 3:19 PM Nitish Chitta <nc...@tibco.com.invalid>
> > wrote:
> > >
> > > Hello Team,
> > > I wanted to know if Tomcat 7 supports requests with IPv6 addresses in the
> > > URL as I am getting an HTTP 404 error when trying to hit the server with
> > an
> > > IPv6 address.
> > >
> > > Thanks & Regards,
> > > Nitish
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> > For additional commands, e-mail: users-help@tomcat.apache.org
> >
> >

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


Re: Regarding IPv6 support

Posted by Nitish Chitta <nc...@tibco.com.INVALID>.
I have done the required changes i.e added the IPv6 address to the
connector that the server should listen on. Do I have to add any other
property or am I missing something?

On Wed, Aug 3, 2022 at 12:51 PM Jason Wee <pe...@gmail.com> wrote:

> yes, it should, read here
> https://tomcat.apache.org/tomcat-7.0-doc/config/http.html
>
> On Wed, Aug 3, 2022 at 3:19 PM Nitish Chitta <nc...@tibco.com.invalid>
> wrote:
> >
> > Hello Team,
> > I wanted to know if Tomcat 7 supports requests with IPv6 addresses in the
> > URL as I am getting an HTTP 404 error when trying to hit the server with
> an
> > IPv6 address.
> >
> > Thanks & Regards,
> > Nitish
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

Re: Regarding IPv6 support

Posted by Jason Wee <pe...@gmail.com>.
yes, it should, read here
https://tomcat.apache.org/tomcat-7.0-doc/config/http.html

On Wed, Aug 3, 2022 at 3:19 PM Nitish Chitta <nc...@tibco.com.invalid> wrote:
>
> Hello Team,
> I wanted to know if Tomcat 7 supports requests with IPv6 addresses in the
> URL as I am getting an HTTP 404 error when trying to hit the server with an
> IPv6 address.
>
> Thanks & Regards,
> Nitish

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