accesses through a proxy?
[*] This is typically needed for any net access to another domain. Tell the run time system what you are trying to do, by using these commandline arguments when you start the program. java -DproxySet=true -DproxyHost=SOMEHOST -DproxyPort=SOMENUM code.java Note proxyPort is optional and it defaults to 80. Without this, you will see an exception like java.net.UnknownHostException or java.net.NoRouteToHostException The proxy settings work for both java.net.URLConnection, and for java.net.Sockets. Netscape’s and IE’s JVMs (at least in versions 4.x+) take the proxy settings for applets from the browser’s proxy configuration. You can also do URL proxies in applications (not applets) with the following code // set up to use proxy System.getProperties().put(“proxySet”, “true”); System.getProperties().put(“proxyHost”, “myproxy.server.name”); System.getProperties().