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 PrincessPoonam, 2 years ago
java.net.ConnectException: Connection refused
via Oracle Community by PrincessPoonam, 1 year ago
java.net.ConnectException: Connection refused
via Oracle Community by 2676438, 2 years ago
via Oracle Community by 462899, 1 year ago
java.net.ConnectException: Connection refused: connect
via Oracle Community by AndrewBenedict, 11 months ago
java.net.ConnectException: Connection refused 04:33:32,485 ERROR [stderr] (Thread-171)
java.lang.RuntimeException: java.net.ConnectException: Connection refused at com.endeca.itl.service.ServiceLocator.getService(ServiceLocator.java:154) at com.endeca.itl.component.manager.cmd.task.ComponentManagerTask.getManager(ComponentManagerTask.java:22) at com.endeca.itl.component.manager.cmd.task.DeleteComponentInstanceTask.process(DeleteComponentInstanceTask.java:24) at com.endeca.itl.cmd.BaseCmd.run(BaseCmd.java:412) at com.endeca.itl.component.manager.cmd.ComponentManagerCmd.main(ComponentManagerCmd.java:52)Caused by: java.net.ConnectException: Connection refused at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366) at java.net.Socket.connect(Socket.java:529) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.commons.httpclient.protocol.ReflectionSocketFactory.createSocket(ReflectionSocketFactory.java:140) at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:125) at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707) at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387) at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323) at com.endeca.itl.util.UrlUtils.ping(UrlUtils.java:114) at com.endeca.itl.util.UrlUtils.ping(UrlUtils.java:81) at com.endeca.itl.service.ServiceLocator.getService(ServiceLocator.java:145) ... 4 more