• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

need info urgent

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi,
i'm issuing one "PORT" command to UNIX server when i try to download file from the server and getting "java.net.SocketException:Connection Reset By Peer".
can anyone tell me why is it?and any solution for that particular problem?
thanx,
sara
 
Ranch Hand
Posts: 54
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I think your question is not clear enough!!!
What do you mean by one "Port" command ???
 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am with Omar. First by UNIX "PORT", do you mean an IP port that you have specified thru your Socket object and opened? Or some Unix utility "PORT" command or shell script. Is the "PORT" a java or unix topic for you. Well if it is a Java IP Port you have opened thru a socket or serversocket then you probally have a procedural issue. I mean that you need to check and make sure your logic is not prematurely exiting your execution before what you want to finishe is done, there fore closing the connection (socket) on that IP Port on your machine, while you may still request more reads, and its closed already. Do you have the whole operational execution based in the socket object, or in some other method? Can you post more info?
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic