Using the Datafeed Toolbox, I connect to Yahoo and attempt to retrieve data using:
c = yahoo('<http://quote.yahoo.com','192.168.3.15',8080>);d = fetch(c,'msft','05/01/04','05/31/04')
I receive the following Java exception:
??? Java exception occurred: java.net.ConnectException: Connection refused: 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 java.net.Socket.<init>(Unknown Source) at java.net.Socket.<init>(Unknown Source) at ice.net.ConnectionManager.createSocket(OEAB) at ice.net.ConnectionManager.getConnection(OEAB) at ice.net.HttpURLConnection.connect(OEAB) at ice.net.HttpURLConnection.getInputStream(OEAB) at java.net.URL.openStream(Unknown Source). Error in ==> yahoo.fetch>wwwread at 293 is = www.openStream; Error in ==> yahoo.fetch at 243 [tmpdat,h] = wwwread(fetchurl,numinputs,c);
Best Answer