Error: while Publishing Task to My webMehtods Server(Remote) using designer

Error: while Publishing Task to My webMehtods Server(Remote) using designer. While giving the userName and password it throws below exception"

“java.net.SocketException: Software caused connection abort: recv failed
Software caused connection abort: recv failed”

Please suggest.

Thanks
Vivek

could be due to TCP timeout
can you chk whether there is a firewall on remote m/c blocking the access?