Is there a way to get Tomcat's AJP connector to bind to both IPv4 and IPv6 loopback addresses.
By default, it seems that Tomcat binds to IPv4 loopback Default connector config : <Connector protocol="AJP/1.3" port="8014" redirectPort="8447" packetSize="65535" secret="xxx" tomcatAuthentication="false"/> netstat -ano | findstr 8014 TCP 127.0.0.1:8014 0.0.0.0:0 LISTENING 8616 TCP 127.0.0.1:8014 127.0.0.1:57510 ESTABLISHED 8616 TCP 127.0.0.1:57510 127.0.0.1:8014 ESTABLISHED 11800 Introducing the address attribute like so : <Connector protocol="AJP/1.3" address="::1" port="8014" redirectPort="8447" packetSize="65535" secret="xxx" tomcatAuthentication="false"/> binds it to IPv6 loopback TCP [::1]:8014 [::]:0 LISTENING 8616 TCP [::1]:8014 [::1]:57522 ESTABLISHED 8616 TCP [::1]:57522 [::1]:8014 ESTABLISHED 6564 Is there a way to make it bind to both the loopbacks. The problem we are facing is our Tomcat installations can have connector configured with IIS or Apache HTTPD. Apache connector, by default seems to make a socket connection using the address ::1 (IPv6 loop back address), whereas IIS connector tries to bind to the IPv4 loopback. Thanks, Piyush.