Christopher Schultz wrote:
Yes, most TCP/IP stacks use 127.0.0.1 as a special-case that avoids most of the real stack and instead uses a kernel buffer as the data transfer mechanism. I just tried to benchmark my own system localhost versus a DNS name that resolves to an IP address handled on the same machine. The results of downloading a 32MiB file 100 times using each address were the same. So, either my previous statement is invalid or my Linux kernel is smart enough to know that the same type of "localhost" optimization can be performed when the destination IP is on the local machine.
Well, at least it's a security thing then. Even if the firewall somehow got opened up, Tomcat is still only accessible from outside the box by going through httpd first. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org