java.net.SocketException

Upload core product.
Post Reply
jarmstrong
Posts: 2
Joined: Tue Jul 09, 2013 5:43 am

java.net.SocketException

Post by jarmstrong »

I recently sent in a request to look at a problem I was having with JfileUpload ftp giving a java.net.SocketException : Connection reset error. I was looking around on other forums and found the following solution.
=================================================================================
Re: java.net.SocketException: Connection reset

This issue has been resolved, but I feel I should say something for everyone else who may have this issue:
There is currently a bug in Java 7 where it doesn't always play nice with the Windows firewall. (Bug ticket: http://bugs.sun.com/bugdatabase/view...bug_id=7077696)
To resolve this issue, the client needs to run their Command Prompt in Administrator mode, and type the command:

netsh advfirewall set global StatefulFTP disable

This should prevent the instance of java.net.Socket from prematurely closing its connection.
=================================================================================

I did what was recommended above and it fixed my problem. I can now upload. :D

Post Reply