Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Java socket EOFException() Windows

N Kriplani
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Java version is 1.5.0_09.

I am trying to connect from a Windows XP machine to another Windows (2003 Server) machine using sockets . Getting a socket error for the following line. and throws EOFException

Stack Trace

If I step into ObjectInputStream, I see:

However, the same code works when I try to connect from Linux(Red Hat Enterprise Linux WS release 4 (Nahant Update 5)) to Windows. Turned off Windows firewall but no luck.

On the Windows Server I am trying to connect to a server agent waiting on port 2002 that helps me connect to Citrix running on that machine. The agent runs as a Windows service.

What could be wrong here?

  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic