Hi, On Sun, Jul 22, 2012, at 02:08 PM, Tim Watts wrote: > > No. I want Tomcat7 to listen ONLY on one address: the IPv4 loopback @ > > 127.0.0.1. No other IPv4 addresses, and no IPv6 addresses at all. > > > Oh, that's easy: specify address="127.0.0.1" on your <Connector>.
it certainly appears to be: vi /etc/tomcat/server.xml ... <Connector port="8080" protocol="HTTP/1.1" + address="127.0.0.1" connectionTimeout="20000" redirectPort="8443" /> ... service tomcat start netstat -pan --tcp | grep java tcp 0 0 127.0.0.1:8080 0.0.0.0:* LISTEN 25254/java tcp 0 0 127.0.0.1:8005 :::* LISTEN 25254/java tcp 0 0 :::8009 :::* LISTEN 25254/java Thanks! > By default, Tomcat will listen on port 8080 on all available addresses > (IPv6 and 4, barring configuration settings at the OS level). The key > "word" in those java.net properties is "prefer" (i.e. not "require"). > So the door is still open to IPv6 even with these properties. I still would presume that, given the specification of "prefer", when localhost is referenced, given the choice of either IPv4 or IPv6 in a functional dual-stack, that it *would* prefer and select IPv4, i.e., 127.0.0.1. apparently, not the case. clarification noted. cheers. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org