A java servlet on machine A could not connect to a web server on machine B. It could however connect to a web server on machine C and it was possible to connected from A to B from the command line and brower so we know that A can see B but somehow the Java process couldn't.
In the end the problem was that Java internally caches the DNS lookups and the host file had changed since the program had started running. The solution was to reset the JVM. (Thanks to DanL for figuring this one out.)
Posted by stuartcw at August 27, 2002 05:29 PM