I recently ran into a networking "issue" that was causing my JDBC data queries to not connect to their servers.
I kept getting an SQL error:
This came out of (what I thought was) no-where because the commandline app previously worked fine.
I tried all kinds of things to fix it, including setting the
Nothing worked, until...
I backed out my JDK7 install and tried running it with Java 6.
that got fixed by adding
After reading the Oracle Java docs on this subject - http://docs.oracle.com/javase/6/docs/technotes/guides/net/ipv6_guide/index.html
I think this is actually a Windoze 7 thing, because Java transparently uses what is given to in the underlying system. My code has no specific requests for IP6 or IP4 for that matter.