java.net.SocketException: connect (code=10061)

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Oracle Community by 843797, 1 year ago
connect (code=10061)
via Oracle Community by 3004, 1 year ago
via Oracle Community by 3004, 1 year ago
via Oracle Community by 843793, 1 year ago
via Oracle Community by 32653, 1 year ago
connect (code=10065)
via Google Groups by john, 2 years ago
connect (code=10055)
java.net.SocketException: connect (code=10061)
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:306)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:126)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:113)
at java.net.Socket.(Socket.java:262)
at java.net.Socket.(Socket.java:91)
at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:22)
at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:117)
at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:490)
at sun.rmi.transport.tcp.TCPChannel.createConnectio(TCPChannel.java:187)
at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:171)
at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:315)
at sun.rmi.registry.RegistryImpl_Stub.rebind(Unknown Source)
at java.rmi.Naming.rebind(Naming.java:158)
at suncertify.remote.RegisterDatabase.register(RegisterDatabase.java:39)
at suncertify.remote.RegisterDatabase.main(RegisterDatabase.java:50)

Users with the same issue

46 times, 1 month ago
31 times, 1 month ago
4 times, 3 months ago
Once, 3 months ago
2 times, 4 months ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.