coopermarsh
MIS
HI
I am trying ti run the following
Properties p=System.getProperties();
p.setProperty( "http.proxyHost", "isln616" );
p.setProperty( "http.proxyPort", "9090" );
URL durl = new URL("InputStream in = durl.openStream();
System.setProperties(p);
The error i get is always
***************************************************
Fatal I/O error: Connection timed out: connect
java.net.ConnectException: Connection timed out: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(Unknown Source)
at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at sun.net.NetworkClient.doConnect(Unknown Source)
at sun.net. Source)
at sun.net. Source)
at sun.net. Source)
at sun.net. Source)
at sun.net.ttpClient(Unknown Source)
at sun.net. Sour
ce)
at sun.net.(Unknown Source)
at sun.net. So
urce)
at sun.net.own Source)
at java.net.URL.openStream(Unknown Source)
at BICDownloaderms.main(BICDownloaderms.java:49)
[Loaded java.util.IdentityHashMap$KeySet from shared objects file]
[Loaded java.util.IdentityHashMap$IdentityHashMapIterator from shared objects fi
le]
[Loaded java.util.IdentityHashMap$KeyIterator from shared objects file]
[Loaded java.io.DeleteOnExitHook from shared objects file]
***************************************************************
I can successfully connect to the url using mozille or ie
I am trying ti run the following
Properties p=System.getProperties();
p.setProperty( "http.proxyHost", "isln616" );
p.setProperty( "http.proxyPort", "9090" );
URL durl = new URL("InputStream in = durl.openStream();
System.setProperties(p);
The error i get is always
***************************************************
Fatal I/O error: Connection timed out: connect
java.net.ConnectException: Connection timed out: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(Unknown Source)
at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at sun.net.NetworkClient.doConnect(Unknown Source)
at sun.net. Source)
at sun.net. Source)
at sun.net. Source)
at sun.net. Source)
at sun.net.ttpClient(Unknown Source)
at sun.net. Sour
ce)
at sun.net.(Unknown Source)
at sun.net. So
urce)
at sun.net.own Source)
at java.net.URL.openStream(Unknown Source)
at BICDownloaderms.main(BICDownloaderms.java:49)
[Loaded java.util.IdentityHashMap$KeySet from shared objects file]
[Loaded java.util.IdentityHashMap$IdentityHashMapIterator from shared objects fi
le]
[Loaded java.util.IdentityHashMap$KeyIterator from shared objects file]
[Loaded java.io.DeleteOnExitHook from shared objects file]
***************************************************************
I can successfully connect to the url using mozille or ie