I'm getting the following error when attempting to run an applet on a server in a browser:
java.net.SocketException: Connection reset
at java.net.SocketInputStream.read(Unknown Source)
at java.net.SocketInputStream.read(Unknown Source)
at java.io.BufferedInputStream.fill(Unknown Source)
at java.io.BufferedInputStream.read(Unknown Source)
at sun.net.ftp.impl.FtpClient.readServerResponse(Unkn own Source)
at sun.net.ftp.impl.FtpClient.readReply(Unknown Source)
at sun.net.ftp.impl.FtpClient.issueCommand(Unknown Source)
at sun.net.ftp.impl.FtpClient.issueCommandCheck(Unkno wn Source)
at sun.net.ftp.impl.FtpClient.openPassiveDataConnecti on(Unknown Source)
at sun.net.ftp.impl.FtpClient.openDataConnection(Unkn own Source)
at sun.net.ftp.impl.FtpClient.getFileStream(Unknown Source)
at sun.net.http://www.protocol.ftp.FtpURLConnec...Stream(Unknown Source)
at airline.Connection.HttpCommunication.testMethod(Ht tpCommunication.java:62)
at airline.Connection.HttpCommunication.readCompanyNa meList(HttpCommunication.java:93)
at airline.UserApplet.AirlineGameApplet$1.run(Airline GameApplet.java:116)
at java.lang.Thread.run(Unknown Source)
The applet is signed. The code in question where the exception is being thrown is:
BufferedReader in = null;
try{
     URL airportURL = new URL(WEBSITE_FTP+"/companies");
     URLConnection aurlconn = airportURL.openConnection();
     in = new BufferedReader(new InputStreamReader(aurlconn.getInputStream())); //Exception thrown here

This exception does NOT get thrown while running the applet from the applet viewer in Eclipse. Anyone know of any reasons this would be happening? Any help is greatly appreciated.