【Tomcat】使用记录

同时绑定ipv4和ipv6

 <Connector port="8080" protocol="HTTP/1.1"
               connectionTimeout="20000"
               redirectPort="8443" address="0.0.0.0"/>

<Connector port="8080" protocol="HTTP/1.1"
               connectionTimeout="20000"
               redirectPort="8443" address="[::]"/>

访问ipv6

浏览器中输入[ipv6地址], 即在地址外面加上[]

posted @ 2016-01-14 19:31  zhangjk  阅读(225)  评论(0编辑  收藏  举报