java.net.ConnectException: Connection refused

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 807597, 1 year ago
via Oracle Community by 807581, 1 year ago
via Oracle Community by 408071, 1 year ago
via Google Groups by GooziK, 4 months ago
via Oracle Community by 807596, 1 year ago
java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
at java.net.Socket.connect(Socket.java:452)
at java.net.Socket.connect(Socket.java:402)
at java.net.Socket.(Socket.java:309)
at java.net.Socket.(Socket.java:153)
at org.jboss.mq.il.oil.OILClientIL.createConnection(OILClientIL.java:175)
at org.jboss.mq.il.oil.OILClientIL.checkSocket(OILClientIL.java:156)
at org.jboss.mq.il.oil.OILClientIL.close(OILClientIL.java:72)
at org.jboss.mq.server.JMSDestinationManager.connectionClosing(JMSDestinationManager.java:569)
at org.jboss.mq.server.JMSServerInterceptorSupport.connectionClosing(JMSServerInterceptorSupport.java:112)
at org.jboss.mq.security.ServerSecurityInterceptor.connectionClosing(ServerSecurityInterceptor.java:61)
at org.jboss.mq.server.TracingInterceptor.connectionClosing(TracingInterceptor.java:158)
at org.jboss.mq.server.JMSServerInvoker.connectionClosing(JMSServerInvoker.java:114)
at org.jboss.mq.il.oil.OILServerILService$Client.run(OILServerILService.java:268)
at java.lang.Thread.run(Thread.java:534)

Users with the same issue

552 times, 2 hours ago
140 times, 11 hours ago
11 times, 2 days ago
26943 times, 3 days ago
5 times, 4 days ago

Write tip

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