java.net.ConnectException: Connection refused: connect

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

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via Oracle Community by 807549, 1 year ago
Connection refused: connect
via Google Groups by Dan Thayer, 1 month ago
Connection refused: connect
via Oracle Community by 843793, 1 year ago
via Oracle Community by 843810, 1 year ago
via Oracle Community by 807553, 1 year ago
via oracle.com by Unknown author, 1 year ago
java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:323)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:136)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:123)
at java.net.Socket.(Socket.java:273)
at java.net.Socket.(Socket.java:100)
at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:25)
at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:120)
at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:499)
at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:190)
at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:174)
at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:318)
at sun.rmi.registry.RegistryImpl_Stub.rebind(Unknown Source)
at java.rmi.Naming.rebind(Naming.java:160)
at com.saincotrafico.optimus.experto_itaca.temp.ExpertSystem.arrancaServidorRMI(ExpertSystem.java:38)
at com.saincotrafico.optimus.experto_itaca.temp.ExpertSystem.(ExpertSystem.java:24)

Users with the same issue

420 times, 8 hours ago
5 times, 1 day ago
2 times, 1 day ago
Once, 2 days ago
9 times, 3 days ago

Write tip

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