Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-1245548

tutorial has wrong instructions

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 1.1
    • 1.0
    • docs
    • 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.

            busersunw Btplusnull User (Inactive)
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: