【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地址]
, 即在地址外面加上[]