Are you using a proxy when connecting to the internet? If so, you need to replace the proxyHost value with the actual hostname or address of your proxy. Moreover, you also need to adjust the proxyPort value to the port number of the port you are actually using.
See Oracle's documentation for Networking Properties and How do I configure proxy settings for Java? for additional information.
Again, the aforementioned suggestions will only help, if you are actually using a proxy.