Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

What's java.net.SocketException: connect (code=10061)

 
Matt Senecal
Ranch Hand
Posts: 255
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does anyone know what causes this?
 
Carl Trusiak
Sheriff
Posts: 3341
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't believe I've seen that before, could you post some code?
 
Jim Baiter
Ranch Hand
Posts: 532
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
10061 is the Winsock code:
WSAECONNREFUSED 10061 Connection refused.
Your connection was refused - you'll have to dig in deeper
to find the reason.
 
Matt Senecal
Ranch Hand
Posts: 255
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The exception is being thrown during a java.rmi.Naming.lookup() call, and indicates that the application can't connect to the machine it's running on. I'll let you know what turns up.
 
Lars Tode
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi
i've got the same problem.
i think u get this code from a client, do u?
if u do, do u use ur own server 2 contact?
any ideas already?
cu
bb
 
ersin eser
Ranch Hand
Posts: 1072
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
read our naming policy and re-register & ask- post your Q again.
www.javaranch.com/name.jsp
[ February 07, 2002: Message edited by: ersin eser ]
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!