-
Bug
-
Resolution: Fixed
-
P4
-
1.0
-
1.1
-
sparc
-
solaris_2.5
-
Not verified
In the tutorial, at the end of the page "Reading from and Writing to a URLConnection", the user is instructed to use the command
java -DproxySet=true -DproxyHost=<proxyhost> ReverseTest "Reverse Me"
if a proxy is needed.
Unfortunately, this command gave me the error:
IOException: java.net.SocketException: Connection refused
To get the desired result, I needed to use
java -DproxySet=true -DproxyHost=webcache1.eng -DproxyPort=8080 ReverseTest "Reverse Me"
Please document the use of the proxyPort flag. I consider myself VERY lucky to have guessed it -- webcache1.eng:8080 gave me an "unknown host" error.
java -DproxySet=true -DproxyHost=<proxyhost> ReverseTest "Reverse Me"
if a proxy is needed.
Unfortunately, this command gave me the error:
IOException: java.net.SocketException: Connection refused
To get the desired result, I needed to use
java -DproxySet=true -DproxyHost=webcache1.eng -DproxyPort=8080 ReverseTest "Reverse Me"
Please document the use of the proxyPort flag. I consider myself VERY lucky to have guessed it -- webcache1.eng:8080 gave me an "unknown host" error.